|
override void | Init (Widget w, SCR_BaseEditorAttribute attribute) |
| Initialize GUI from attribute.
|
|
override void | SetFromVar (SCR_BaseEditorAttributeVar var) |
| Update GUI from attribute variable.
|
|
override bool | OnChange (Widget w, int x, int y, bool finished) |
|
override bool | OnMouseEnter (Widget w, int x, int y) |
|
override void | HandlerDeattached (Widget w) |
|
SCR_BaseEditorAttribute | GetAttribute () |
| Get attribute this component represents.
|
|
void | SetFromVar (SCR_BaseEditorAttributeVar var) |
| Update GUI from attribute variable.
|
|
void | Init (Widget w, SCR_BaseEditorAttribute attribute) |
| Initialize GUI from attribute.
|
|
override bool | OnChange (Widget w, int x, int y, bool finished) |
|
void | ShowButtonDescription (SCR_AttributeButtonUIComponent button, bool showButtonDescription, string buttonDescription=string.Empty) |
|
ScriptInvoker | GetOnAttributeChanged () |
| Called on attribute changed via UI.
|
|
ScriptInvoker | GetOnAttributeUIFocusChanged () |
| Called on focus changes.
|
|
ScriptInvoker | GetOnEnabledByAttribute () |
| Called when another attribute enables/disables the attribute.
|
|
ScriptInvoker | GetOnMouseLeave () |
| Called when the mouse leaves the attribute.
|
|
bool | GetTickboxEnabled () |
| Get if tickbox is enabled or not.
|
|
void | ToggleEnableAttributeTickbox () |
| Toggle tickbox UI, flipping the tickbox from true to false and viceversa.
|
|
bool | GetIsFocused () |
| Get if attribute is focused /return if attribute is focused.
|
|
override bool | OnFocus (Widget w, int x, int y) |
|
override bool | OnFocusLost (Widget w, int x, int y) |
|
override bool | OnMouseEnter (Widget w, int x, int y) |
|
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
|
override void | HandlerDeattached (Widget w) |
|
|
void | CreateDayList (SCR_ComboBoxIconComponent comboBox, int currentMonth, int currentYear, bool setMoonIcon=true) |
|
void | UpdateDateMoonPhaseIcon () |
|
void | GetCorrectDateTime (out float daytime, out int day, out int month, out int year) |
|
void | FillMonthComboBox (SCR_ComboBoxIconComponent comboBox) |
|
void | FillYearComboBox (SCR_ComboBoxIconComponent comboBox) |
|
void | SetMonthWidgetFillWeight () |
|
SCR_ComboBoxIconComponent | GetCorrectComboBox (string lookfor) |
|
TextWidget | GetCorrectLabel (string lookfor) |
|
void | SetDateComboBoxes (vector date) |
|
void | OnComboBoxChanged (SCR_ComboBoxComponent comboBox, int index) |
|
void | SetFromVarExternal (SCR_BaseEditorAttributeVar var, bool isReset) |
|
void | SetFromVarOrDefault () |
|
void | ToggleButtonSelected (bool selected, int index, bool animated=true) |
|
void | SetAsSubAttribute () |
|
void | AttributeValueChanged () |
|
void | ShowAttributeDescription () |
|
void | HideAttributeDescription () |
|
void | SetVariableToDefaultValue (SCR_BaseEditorAttributeVar var) |
|
void | ToggleEnableAttribute (bool enabled) |
|
void | ToggleEnable (bool enabled) |
| Toggle UI enabled.
|
|
void | OnTickboxToggleChanged (bool toggle) |
|
void | GamePadLockedSelectorFocusChanged (bool newFocus) |
|
void | OnFocusAttributeWidget (Widget w) |
| Callback for focus of widget used.
|
|
void | SetGamepadLockSelectorActive (bool isGamepad) |
|