![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Enumerations | |
| enum | EModularButtonState |
Functions | |
| enum EModularButtonState | Attribute ()] protected ref array< ref SCR_ButtonEffectBase > m_aEffects |
| void | SetEnabled (bool enabled) |
| bool | GetEnabled () |
| void | SetToggled (bool toggled, bool invokeOnToggled=true, bool instant=false) |
| bool | GetToggled () |
| bool | GetFocused () |
| bool | GetMouseOver () |
| void | SetToggleable (bool toggleable) |
| void | SetTogglableOnlyThroughApi (bool newValue) |
| void | SetData (Managed data) |
| Managed | GetData () |
| Widget | GetRootWidget () |
| bool | SetVisible (bool visible) |
| SCR_ButtonEffectBase | FindEffect (string tag) |
| array< SCR_ButtonEffectBase > | FindAllEffects (string tag) |
| array< SCR_ButtonEffectBase > | GetAllEffects () |
| void | SetEffectsEnabled (string tag, bool enable) |
| void | SetEffectsWithAnyTagEnabled (notnull array< string > tags) |
| void | SetAllEffectsEnabled (bool enable) |
| void | InvokeAllEnabledEffects (bool instant) |
| void | UpdateCurrentState () |
| Checks current state, invokes state change effects if state has changed. | |
| EModularButtonState | GetCurrentState () |
| void | InvokeEffectsEvent (EModularButtonEventFlag eventFlag, bool instant=false) |
| void | Internal_OnMasterButtonEvent (EModularButtonEventFlag eventFlag, bool instant) |
| void | Internal_SetToggled (bool newToggled, bool invokeOnToggled=true, bool instant=false) |
| void | Internal_OnEffectEnabled (SCR_ButtonEffectBase effect) |
| override void | HandlerAttached (Widget w) |
| override bool | OnClick (Widget w, int x, int y, int button) |
| override bool | OnDoubleClick (Widget w, int x, int y, int button) |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| override bool | OnFocus (Widget w, int x, int y) |
| override bool | OnFocusLost (Widget w, int x, int y) |
| void | _print (string s) |
| bool | GetIsFocusOnMouseEnter () |
| void | SetIsFocusOnMouseEnter (bool focus) |
| string | GetCurrentStateName () |
| void | IgnoreStandardInputs (bool ignore) |
| enum EModularButtonState |
These enum values correspond to change of button state, A button can only be in one state at a time
Definition at line 6 of file SCR_ModularButtonComponent.c.
|
protected |
| [in] | s |
Definition at line 678 of file SCR_ModularButtonComponent.c.
|
protected |
| [in] | tag |
Definition at line 225 of file SCR_ModularButtonComponent.c.
|
protected |
Returns first effect with given tag
| [in] | tag |
Definition at line 211 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 239 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 347 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 699 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 182 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 118 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 147 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 685 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 154 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 189 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 140 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 472 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 705 of file SCR_ModularButtonComponent.c.
|
protected |
Must only be called by the effect class
| [in] | effect |
Definition at line 449 of file SCR_ModularButtonComponent.c.
|
protected |
Used for passing events from master button / slave button This is called on a slave button by SCR_ButtonEffectSlaveButton
| [in] | eventFlag | |
| [in] | instant |
Definition at line 421 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 427 of file SCR_ModularButtonComponent.c.
|
protected |
Applies all enabled effects. Param instant should be true for changes to an effect's setting while it is active (eg: change the focused color while element is focused) If instant == false, it's like retriggering the event, eg element simulates being focused again
| [in] | instant |
Definition at line 308 of file SCR_ModularButtonComponent.c.
|
protected |
Calls _OnEvent of all enabled effects.
| [in] | eventFlag | |
| [in] | instant |
Definition at line 401 of file SCR_ModularButtonComponent.c.
Definition at line 540 of file SCR_ModularButtonComponent.c.
Definition at line 574 of file SCR_ModularButtonComponent.c.
Definition at line 638 of file SCR_ModularButtonComponent.c.
Definition at line 657 of file SCR_ModularButtonComponent.c.
Definition at line 584 of file SCR_ModularButtonComponent.c.
Definition at line 614 of file SCR_ModularButtonComponent.c.
|
protected |
Enables ar disables all effects
| [in] | enable |
Definition at line 291 of file SCR_ModularButtonComponent.c.
|
protected |
| [in] | data |
Definition at line 175 of file SCR_ModularButtonComponent.c.
Enables or disables all effects with given tag
| [in] | tag | |
| [in] | enable |
Definition at line 254 of file SCR_ModularButtonComponent.c.
|
protected |
Effects with at least one tag are enabled. Other effects are disabled.
| [in] | tags |
Definition at line 270 of file SCR_ModularButtonComponent.c.
|
protected |
| [in] | focus |
Definition at line 692 of file SCR_ModularButtonComponent.c.
|
protected |
| [in] | newValue |
Definition at line 168 of file SCR_ModularButtonComponent.c.
|
protected |
| [in] | toggleable |
Definition at line 161 of file SCR_ModularButtonComponent.c.
| [in] | toggled | |
| [in] | invokeOnToggled |
Definition at line 126 of file SCR_ModularButtonComponent.c.
|
protected |
Checks current state, invokes state change effects if state has changed.
Definition at line 331 of file SCR_ModularButtonComponent.c.
| enum EModularButtonState CLICK = 1 << 0 |
Enum corresponding Enfusion native event types.
| enum EModularButtonState DOUBLE_CLICK = 1 << 1 |
| enum EModularButtonState FOCUS_GAINED = 1 << 2 |
| enum EModularButtonState FOCUS_LOST = 1 << 3 |
|
protected |
Definition at line 47 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 85 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 59 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 62 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 86 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 87 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 53 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 50 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 56 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 88 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 69 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 70 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 72 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 73 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 74 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 75 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 71 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 91 of file SCR_ModularButtonComponent.c.
|
protected |
Definition at line 82 of file SCR_ModularButtonComponent.c.
| enum EModularButtonState MOUSE_ENTER = 1 << 4 |
| enum EModularButtonState MOUSE_LEAVE = 1 << 5 |
| STATE_ACTIVATED = 1 << 2 |
Activated.
Definition at line 2 of file SCR_ModularButtonComponent.c.
| STATE_ACTIVATED_HOVERED = 1 << 3 |
Activated and hovered.
Definition at line 3 of file SCR_ModularButtonComponent.c.
| STATE_DEFAULT = 1 << 0 |
Default state.
Definition at line 0 of file SCR_ModularButtonComponent.c.
| STATE_DISABLED = 1 << 4 |
Disabled.
Definition at line 4 of file SCR_ModularButtonComponent.c.
| STATE_DISABLED_ACTIVATED = 1 << 5 |
Disabled and activated.
Definition at line 5 of file SCR_ModularButtonComponent.c.
| STATE_HOVERED = 1 << 1 |
Hovered.
Definition at line 1 of file SCR_ModularButtonComponent.c.