Show / Hide Table of Contents

Class SettingsPage

A Page used to display a set of interactable SystemSettings and TimerSettings.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
Page
SettingsPage
Implements
IColorHook
Inherited Members
Page.Hide(Action)
Page.IsPageOpen()
ThemeElement.Timer
ThemeElement.Initialize(PomodoroTimer, Boolean)
ThemeElement.IsInitialized()
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Core.Items.Pages
Assembly: Assembly-CSharp.dll
Syntax
public class SettingsPage : Page, IColorHook

Methods

| Improve this Doc View Source

AddCustomDropdownSoundOption(AudioClip, String)

Declaration
public void AddCustomDropdownSoundOption(AudioClip audioClip, string audioFile)
Parameters
Type Name Description
UnityEngine.AudioClip audioClip
System.String audioFile
| 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
Page.ColorUpdate(Theme)
| Improve this Doc View Source

HideMuteSoundOutOfFocusOption()

Hides the 'sound mute when application is out of focus' option from the user. Intended to be hidden for mobile users, not desktop.

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

Initialize(PomodoroTimer)

Declaration
public void Initialize(PomodoroTimer pomodoroTimer)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
| Improve this Doc View Source

Refresh()

Updates all elements present on this page using the current loaded System and Timer settings.

Declaration
public override void Refresh()
Overrides
Page.Refresh()
| Improve this Doc View Source

RemoveCustomDropdownSoundOption(String)

Declaration
public void RemoveCustomDropdownSoundOption(string audioFile)
Parameters
Type Name Description
System.String audioFile
| Improve this Doc View Source

SetDigitFormatDropdown(Int32)

Sets the switch digit layout dropdown to the provided digit format index. (See: DigitFormat.SupportedFormats)

Declaration
public void SetDigitFormatDropdown(int value)
Parameters
Type Name Description
System.Int32 value

The index value you want the dropdown to be set at.

| Improve this Doc View Source

Show(Action)

Displays this panel to the user.

Declaration
public override void Show(Action onAnimationCompletion)
Parameters
Type Name Description
System.Action onAnimationCompletion
Overrides
Page.Show(Action)
| Improve this Doc View Source

ShowMuteSoundOutOfFocusOption()

Shows the 'sound mute when application is out of focus' option to the user. Intended to be shown for desktop users, not mobile.

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

UpdateDigitFormatDropdown()

Updates the switch digit layout dropdown to use the current timer's digit format.

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

ValidateCustomSoundChoice()

Declaration
public void ValidateCustomSoundChoice()

Implements

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