Show / Hide Table of Contents

Class SidebarRow

A ThemeElement ClickButton used to display a SVG image, and a text label. Includes a spawn animation. (Also see Sidebar)

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
SidebarRow
Implements
IColorHook
Inherited Members
ThemeElement.Timer
ThemeElement.Initialize(PomodoroTimer, Boolean)
ThemeElement.IsInitialized()
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Core.Items
Assembly: Assembly-CSharp.dll
Syntax
public class SidebarRow : ThemeElement, IColorHook, IPointerEnterHandler, IPointerExitHandler, IEventSystemHandler

Methods

| Improve this Doc View Source

CancelHold()

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

ColorUpdate(Theme)

Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type Name Description
Theme theme
Overrides
ThemeElement.ColorUpdate(Theme)
| Improve this Doc View Source

Deselect()

Declaration
[ContextMenu("Deselect")]
public void Deselect()
| Improve this Doc View Source

GetClickButton()

Declaration
public ClickButton GetClickButton()
Returns
Type Description
ClickButton
| Improve this Doc View Source

GetLabelFontSize()

Declaration
public float GetLabelFontSize()
Returns
Type Description
System.Single
| Improve this Doc View Source

Hide()

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

Initialize(PomodoroTimer, Sidebar, Boolean)

Declaration
public void Initialize(PomodoroTimer pomodoroTimer, Sidebar parentSidebar, bool selected = false)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
Sidebar parentSidebar
System.Boolean selected
| Improve this Doc View Source

IsSelectable()

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

IsSelected()

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

OnClick()

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

OnPointerEnter(PointerEventData)

Declaration
public void OnPointerEnter(PointerEventData eventData)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData
| Improve this Doc View Source

OnPointerExit(PointerEventData)

Declaration
public void OnPointerExit(PointerEventData eventData)
Parameters
Type Name Description
UnityEngine.EventSystems.PointerEventData eventData
| Improve this Doc View Source

PlaySpawnAnimation()

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

ResetMaxFontSize()

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

Select()

Declaration
[ContextMenu("Select")]
public void Select()
| Improve this Doc View Source

SetMaxFontSize(Single)

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

Show()

Declaration
public void Show()

Implements

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