Elin Decompiled Documentation EA 23.102 Nightly
|
Public Types | |
enum | ColorType { General = 0 , Tab = 5 , DontChange = 99 } |
Public Member Functions | |
void | ApplySkin () |
UIButton | AddButton (UIButton mold, string text) |
void | RemoveButton (UIButton button) |
void | SetButton (UIButton button) |
void | SetGroup (int id) |
virtual void | Init (int index=0, UnityAction< int > action=null, bool directChildren=false) |
void | SetLoop () |
void | Select (UIButton button, bool check=true) |
void | Select (int id) |
void | Select (string id) |
void | Select (Func< UIButton, bool > func) |
void | RefreshButtons () |
void | ForceDefaultColor (bool useNoSelection=false) |
void | ToggleInteractable (bool enable) |
void | SetColors () |
void | ApplySkin () |
Public Attributes | |
ColorType | colorType |
LayoutGroup | layoutButtons |
int | selectOnInitialize |
bool | colorWhenSelected |
bool | checkbox |
bool | loopNavigation |
bool | autoInitialize = true |
bool | selectOnClick = true |
bool | useIcon |
bool | useTransition = true |
bool | fixRefreshButtons |
bool | colorWhenDisabled |
Color | colorDefault |
Color | colorSelected |
Color | colorNoSelection |
Color | colorDisabled |
SkinRootStatic | rootSkin |
UIButton | selected |
List< UIButton > | list = new List<UIButton>() |
UnityAction< int > | onClick |
Properties | |
SkinRootStatic | Skin [get] |
Private Member Functions | |
void | Awake () |
void | OnDisable () |
void | LateUpdate () |
Private Attributes | |
SkinColorProfileEx.GroupColors | colors |
bool | refreshButtons |
Definition at line 7 of file UISelectableGroup.cs.
Enumerator | |
---|---|
General | |
Tab | |
DontChange |
Definition at line 9 of file UISelectableGroup.cs.
Definition at line 105 of file UISelectableGroup.cs.
References layoutButtons, and Util.
|
inline |
Implements IUISkin.
Definition at line 91 of file UISelectableGroup.cs.
References RefreshButtons(), and SetColors().
|
inlineprivate |
Definition at line 74 of file UISelectableGroup.cs.
References autoInitialize, fixRefreshButtons, Init(), layoutButtons, refreshButtons, selectOnInitialize, and SetColors().
|
inline |
Definition at line 309 of file UISelectableGroup.cs.
References colorDefault, colorNoSelection, item, list, selected, and useIcon.
|
inlinevirtual |
Definition at line 147 of file UISelectableGroup.cs.
References checkbox, list, onClick, RefreshButtons(), Select(), selected, and SetButton().
Referenced by Awake(), Window.BuildTabs(), BuildMenu.Init(), UIMagicChest.Init(), ContentPopulation.OnSwitchContent(), ActionHint.Refresh(), UIRecipeInfo.Refresh(), UIList.Refresh(), ContentConfigGame.SetGroup(), LayerConfig.SetGroup(), and TerrainMenu.Show().
|
inlineprivate |
Definition at line 364 of file UISelectableGroup.cs.
References refreshButtons, and RefreshButtons().
|
inlineprivate |
Definition at line 97 of file UISelectableGroup.cs.
References fixRefreshButtons, and refreshButtons.
|
inline |
Definition at line 230 of file UISelectableGroup.cs.
References checkbox, colorDefault, colorDisabled, colorNoSelection, colorSelected, colorWhenDisabled, colorWhenSelected, item, list, selected, useIcon, and useTransition.
Referenced by ApplySkin(), Init(), LateUpdate(), LayerCraft.OnCompleteCraft(), BuildMenu.Refresh(), and Select().
|
inline |
Definition at line 112 of file UISelectableGroup.cs.
References list.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 188 of file UISelectableGroup.cs.
References checkbox, RefreshButtons(), selected, and UIButton.SetCheck().
Referenced by UIMagicChest.Init(), Init(), UIMagicChest.OnAfterRedraw(), UIRecipeInfo.OnRotate(), UIList.OnSelect(), BuildMenu.RefreshCategory(), LayerWorldSetting.RefreshTemplate(), Select(), UIList.Select(), BuildMenu.SelectCategory(), Window.SwitchContent(), and UIButton.Toggle().
|
inline |
Definition at line 117 of file UISelectableGroup.cs.
References checkbox, UIButton.DoNormalTransition(), list, and SetGroup().
Referenced by Init().
|
inline |
Definition at line 345 of file UISelectableGroup.cs.
References colorDefault, colorNoSelection, colors, colorSelected, SkinRootStatic.ColorsEx, colorType, SkinColorProfileEx.general, Skin, and SkinColorProfileEx.tab.
Referenced by ApplySkin(), and Awake().
|
inline |
Definition at line 128 of file UISelectableGroup.cs.
References list, onClick, selectOnClick, and UIButton.Toggle().
Referenced by SetButton().
|
inline |
Definition at line 173 of file UISelectableGroup.cs.
References list, and loopNavigation.
|
inline |
Definition at line 337 of file UISelectableGroup.cs.
Referenced by AM_Dig.OnSelectEnd(), AM_Dig.OnSelectStart(), and ActionHint.Refresh().
bool UISelectableGroup.autoInitialize = true |
Definition at line 28 of file UISelectableGroup.cs.
Referenced by Awake().
bool UISelectableGroup.checkbox |
Definition at line 24 of file UISelectableGroup.cs.
Referenced by Init(), RefreshButtons(), Select(), and SetButton().
Color UISelectableGroup.colorDefault |
Definition at line 40 of file UISelectableGroup.cs.
Referenced by ForceDefaultColor(), RefreshButtons(), and SetColors().
Color UISelectableGroup.colorDisabled |
Definition at line 46 of file UISelectableGroup.cs.
Referenced by RefreshButtons().
Color UISelectableGroup.colorNoSelection |
Definition at line 44 of file UISelectableGroup.cs.
Referenced by ForceDefaultColor(), RefreshButtons(), and SetColors().
|
private |
Definition at line 50 of file UISelectableGroup.cs.
Referenced by SetColors().
Color UISelectableGroup.colorSelected |
Definition at line 42 of file UISelectableGroup.cs.
Referenced by RefreshButtons(), and SetColors().
ColorType UISelectableGroup.colorType |
Definition at line 16 of file UISelectableGroup.cs.
Referenced by SetColors().
bool UISelectableGroup.colorWhenDisabled |
Definition at line 38 of file UISelectableGroup.cs.
Referenced by RefreshButtons().
bool UISelectableGroup.colorWhenSelected |
Definition at line 22 of file UISelectableGroup.cs.
Referenced by RefreshButtons().
bool UISelectableGroup.fixRefreshButtons |
Definition at line 36 of file UISelectableGroup.cs.
Referenced by Awake(), and OnDisable().
LayoutGroup UISelectableGroup.layoutButtons |
Definition at line 18 of file UISelectableGroup.cs.
Referenced by AddButton(), and Awake().
Definition at line 56 of file UISelectableGroup.cs.
Referenced by ForceDefaultColor(), Init(), RefreshButtons(), RemoveButton(), Select(), SetButton(), SetGroup(), SetLoop(), TerrainMenu.Show(), and ToggleInteractable().
bool UISelectableGroup.loopNavigation |
Definition at line 26 of file UISelectableGroup.cs.
Referenced by SetLoop().
UnityAction<int> UISelectableGroup.onClick |
Definition at line 58 of file UISelectableGroup.cs.
Referenced by Init(), and SetGroup().
|
private |
Definition at line 60 of file UISelectableGroup.cs.
Referenced by Awake(), LateUpdate(), and OnDisable().
SkinRootStatic UISelectableGroup.rootSkin |
Definition at line 48 of file UISelectableGroup.cs.
UIButton UISelectableGroup.selected |
Definition at line 53 of file UISelectableGroup.cs.
Referenced by ForceDefaultColor(), Init(), RefreshButtons(), and Select().
bool UISelectableGroup.selectOnClick = true |
Definition at line 30 of file UISelectableGroup.cs.
Referenced by SetGroup().
int UISelectableGroup.selectOnInitialize |
Definition at line 20 of file UISelectableGroup.cs.
Referenced by Awake().
bool UISelectableGroup.useIcon |
Definition at line 32 of file UISelectableGroup.cs.
Referenced by ForceDefaultColor(), and RefreshButtons().
bool UISelectableGroup.useTransition = true |
Definition at line 34 of file UISelectableGroup.cs.
Referenced by RefreshButtons().
|
get |
Definition at line 62 of file UISelectableGroup.cs.
Referenced by SetColors().