Show / Hide Table of Contents

Class SidebarPages

A ItemSelector<T> that hold's references to all our application Page's. Intended to control which page is currently selected/opened/seen.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
ItemSelector<Page>
SidebarPages
Implements
IColorHook
Inherited Members
ItemSelector<Page>.m_items
ItemSelector<Page>.onSelectionChange
ItemSelector<Page>.onSelected
ItemSelector<Page>.onDeselected
ItemSelector<Page>.Initialize(IEnumerable<Page>)
ItemSelector<Page>.Clear()
ItemSelector<Page>.AddItem(Page)
ItemSelector<Page>.RemoveItem(Page)
ItemSelector<Page>.PreviousItem()
ItemSelector<Page>.NextItem()
ItemSelector<Page>.Select(Page)
ItemSelector<Page>.GetCurrentItem()
ItemSelector<Page>.GetCurrentIndex()
ItemSelector<Page>.GetCount()
ItemSelector<Page>.GetLastSelectedItem()
ItemSelector<Page>.GetItems()
ThemeElement.Timer
ThemeElement.IsInitialized()
ThemeElement.ColorUpdate(Theme)
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Core.Containers
Assembly: Assembly-CSharp.dll
Syntax
public class SidebarPages : ItemSelector<Page>, IColorHook

Methods

| Improve this Doc View Source

AddCustomSoundFiles(List<String>)

Declaration
public IEnumerator AddCustomSoundFiles(List<string> customAudioFiles)
Parameters
Type Name Description
System.Collections.Generic.List<System.String> customAudioFiles
Returns
Type Description
System.Collections.IEnumerator
| Improve this Doc View Source

Initialize(PomodoroTimer, Boolean)

Declaration
public override void Initialize(PomodoroTimer pomodoroTimer, bool updateColors = true)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
System.Boolean updateColors
Overrides
ThemeElement.Initialize(PomodoroTimer, Boolean)
| Improve this Doc View Source

IsAboutPageOpen()

Declaration
public bool IsAboutPageOpen()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsSettingsPageOpen()

Declaration
public bool IsSettingsPageOpen()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsTimerPageOpen()

Declaration
public bool IsTimerPageOpen()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

MCSwitchToAboutPageInstant()

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

MCSwitchToMainPageInstant()

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

MCSwitchToSettingsPageInstant()

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

RefreshSettingsPage()

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

RefreshTimerPage()

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

RemoveCustomAudioFile(String)

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

SetSettingDigitFormatDropdown(Int32)

Declaration
public void SetSettingDigitFormatDropdown(int digitFormatIndex)
Parameters
Type Name Description
System.Int32 digitFormatIndex
| Improve this Doc View Source

SwitchToAboutPage()

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

SwitchToSettingsPage()

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

SwitchToTimerPage(UnityAction)

Declaration
public void SwitchToTimerPage(UnityAction onShow = null)
Parameters
Type Name Description
UnityEngine.Events.UnityAction onShow
| Improve this Doc View Source

UpdateSettingsDigitFormatDropdown()

Declaration
public void UpdateSettingsDigitFormatDropdown()
| 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