Show / Hide Table of Contents

Class CompletionLabel

A ThemeElement used primarily to update the color of the referenced "TIMER COMPLETE" labels via IColorHook ColorUpdate. This component is used to prompt the user that the timer is finished. Also used for offsetting the labels depending on long break setting. AdrianMiasik.Components.Specific.Settings b

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
CompletionLabel
Implements
IColorHook
ITimerState
Inherited Members
ThemeElement.Timer
ThemeElement.Initialize(PomodoroTimer, Boolean)
ThemeElement.IsInitialized()
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Specific
Assembly: Assembly-CSharp.dll
Syntax
public class CompletionLabel : ThemeElement, IColorHook, ITimerState

Methods

| Improve this Doc View Source

ColorUpdate(Theme)

Applies our Theme changes to our referenced components when necessary.

Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type Name Description
Theme theme

The theme to apply on our referenced components.

Overrides
ThemeElement.ColorUpdate(Theme)
| Improve this Doc View Source

HideCompletionAnimation()

Declaration
public void HideCompletionAnimation()
| Improve this Doc View Source

MoveAnchors(Boolean)

Declaration
public void MoveAnchors(bool isItLongBreak)
Parameters
Type Name Description
System.Boolean isItLongBreak
| Improve this Doc View Source

SetScale(Single)

Sets the local scale of the completion label to the provided multiplier. Intended to be used by pomodoro timer ring pulse animation.

Declaration
public void SetScale(float desiredScale)
Parameters
Type Name Description
System.Single desiredScale
| Improve this Doc View Source

StateUpdate(PomodoroTimer.States, Theme)

Declaration
public void StateUpdate(PomodoroTimer.States state, Theme theme)
Parameters
Type Name Description
PomodoroTimer.States state
Theme theme

Implements

IColorHook
ITimerState
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX