![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| override void | HandlerAttached (Widget w) |
| override void | HandlerDeattached (Widget w) |
| override bool | OnClick (Widget w, int x, int y, int button) |
| bool | IsKeybindAvailable (inout notnull array< string > keyStack) |
| override void | SetEnabled (bool enabled, bool animate=true) |
| void | SetEnabled_Internal (bool enabled, bool animate=true) |
| void | OnInputDeviceUserChanged (bool isGamepad) |
| React on switching between input methods. | |
| bool | ChangeInputDevice (EInputDeviceType inputDevice, bool hasFocus, bool resetOverride=false) |
| bool | GetInputFilterSettings (BaseContainer filter) |
| Check which filter is applied to the action to change the buttons behavior. | |
| void | CreateComboWidget () |
| Create a second InputButton widget to display combos. | |
| void | DeleteComboWidget () |
| Delete secound InputButton widget if there is one. | |
| void | SetInputAction () |
| Add action listeners for selected input action. | |
| void | OnButtonPressed (float value, EActionTrigger reason) |
| 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 void | OnDisabled (bool animate) |
| override void | OnEnabled (bool animate) |
| void | OnButtonHold (float value) |
| void | PlaySoundClicked () |
| void | OnInput () |
| Called when Button is clicked / key is presses. | |
| void | ActionPressed (bool isHoldAction=false) |
| void | ActionReleased () |
| bool | GetIsHoldingButton () |
| void | SetIsHoldingButton (bool isHolding) |
| float | GetAnimationRate () |
| float | GetAnimationTime () |
| bool | GetIsInputCombo () |
| ScriptInvokerVoid | GetOnAnimateHover () |
| ScriptInvokerVoid | GetOnUpdateEnableColor () |
| ScriptInvokerVoid | GetOnHoldAnimComplete () |
| void | ProcessKeybindStack (inout int index, notnull array< string > keyStack) |
| void | ProcessFilterStack () |
| void | SetLabel (string label) |
| PUBLIC API\. | |
| void | SetLabelColor (notnull Color color) |
| Change the color of the Label. | |
| bool | SetAction (string action, EInputDeviceType currentInputDevice=-1, bool forceUpdate=false) |
| int | GetSize () |
| void | SetSize (int size) |
| bool | IsClickSoundDisabled () |
| void | SetClickSoundDisabled (bool isEnabled) |
| Enable / disable the click sound played when button is pressed. | |
| void | SetTexture (string imagePath, string image=string.Empty, Color color=Color.FromInt(Color.WHITE), SCR_EButtonSize buttonType=SCR_EButtonSize.KEYBOARD_MEDIUM) |
| void | ResetTexture () |
| void | SetColorActionDisabled (Color newColor) |
| void | ChangeInputVisibility (bool visible) |
| bool | IsHovering () |
| void | SetForceDisabled (bool forceDisabled, bool animate=true) |
| void | SetForceDisabledWithDelay (bool forceDisabled, bool animate=true, int delay=0) |
| void | OnActiveWidgetInteraction (bool isInteractionActive, int delay) |
| void | OnDialogOpen (DialogUI dialog) |
| void | OnDialogClose (DialogUI dialog) |
| void | OnMenuFocusGained (ChimeraMenuBase menu) |
| void | OnMenuFocusLost (ChimeraMenuBase menu) |
| void | OnSettingsMenuClosed (ChimeraMenuBase menu) |
| bool | IsInTopMenu () |
| Returns true if there are no dailogs or if this button is in the last dialog opened. | |
| bool | IsInTopDialog () |
| Returns true if there if this button is in the last dialog opened. | |
| bool | GetForceDisabled () |
| void | UpdateComboIndicatorSizes () |
Static Protected Member Functions | |
| static SCR_InputButtonComponent | FindComponent (notnull Widget w) |
| static SCR_InputButtonComponent | GetInputButtonComponent (string name, notnull Widget parent, bool searchAllChildren=true) |
Definition at line 1 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 751 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 767 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Check for last used input device and get the correct keybind for it.
| [in] | EInputDeviceType | type of InputDevice |
| [in] | bool | is the realted button focused by mouse |
| [in] | bool | reset Button override if it was enabled (false by default) |
Get keybind for selected input action and input device
Definition at line 317 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Change the visibility of the Button Image & Text
| [in] | visibility |
Definition at line 1054 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Create a second InputButton widget to display combos.
Create InputButton widget
Definition at line 482 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Delete secound InputButton widget if there is one.
Definition at line 574 of file SCR_InputButtonComponent.c.
|
inlinestaticprotected |
Definition at line 1078 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 799 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 805 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1189 of file SCR_InputButtonComponent.c.
|
inlinestaticprotected |
Static method to easily find component by providing name and parent. Searching all children will go through whole hierarchy, instead of immediate chidren
Definition at line 1212 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Check which filter is applied to the action to change the buttons behavior.
Definition at line 403 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 787 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 811 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 817 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 835 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 826 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 977 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Get the default hold time defined in Project settings
Definition at line 165 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Remove old listener
Definition at line 225 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1002 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1084 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Returns true if there if this button is in the last dialog opened.
Definition at line 1183 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Returns true if there are no dailogs or if this button is in the last dialog opened.
Definition at line 1176 of file SCR_InputButtonComponent.c.
|
inlineprotected |
| [in,out] | keyStack | stack for keys. Can be: '+' for input combo (binary node followed by two child nodes) or '|' for input sum/alternative (binary node followed by two child nodes) otherwise contains key code (leaf node) |
Definition at line 266 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1119 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Called when button is held.
| Float | 0-1. State of button press. |
Definition at line 679 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 617 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 245 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1136 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1128 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 661 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 627 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 668 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Called when Button is clicked / key is presses.
Definition at line 726 of file SCR_InputButtonComponent.c.
|
inlineprotected |
React on switching between input methods.
Definition at line 304 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1144 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1151 of file SCR_InputButtonComponent.c.
Definition at line 636 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 648 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Callback method that is triggered when some menu is closed
| [in] | menu | that was closed |
Definition at line 1160 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 713 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Delete not needed entries from m_aFilterStack and bring it into correct order !
Definition at line 886 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Iterate trough key bind stack
| [in,out] | index | gets decremented by one |
Definition at line 846 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Restet Button back to it's default texutre Use after SetTexture() to undo the override
Definition at line 1031 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Override action. This changes the visuals of the button based on the new action.
| [in] | action | name defined in chimeraInputCommon.conf |
| [in] | currentInputDevice | for what input device type this hint should load the data |
| [in] | forceUpdate | if this hint should ignore if it is already configured for the same action and try to fetch that data again in order to refresh it |
Definition at line 951 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Enable / disable the click sound played when button is pressed.
Definition at line 1009 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1046 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 278 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 285 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1090 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1103 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Add action listeners for selected input action.
Definition at line 593 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 793 of file SCR_InputButtonComponent.c.
|
inlineprotected |
PUBLIC API\.
Change the Text displayed in the label
Definition at line 927 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Change the color of the Label.
Definition at line 938 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Change the size of the button
| Int | - Height in px. Width will be calculated automatically |
Definition at line 985 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Override texture in Button
| ImagePath | |
| Image | name if using ImageSet. Default: null |
| Color | of the Image |
Definition at line 1019 of file SCR_InputButtonComponent.c.
|
inlineprotected |
Definition at line 1195 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 99 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 97 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 96 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 94 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 98 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 104 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 105 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 95 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 101 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 113 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 114 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 26 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 32 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 29 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 44 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 35 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 160 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 115 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 116 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 117 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 59 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 62 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 92 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 47 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 128 of file SCR_InputButtonComponent.c.
|
protected |
If user changed keybing then it should force update of hints.
Definition at line 133 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 122 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 121 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 126 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 124 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 139 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 123 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 137 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 138 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 130 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 17 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 8 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 86 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 125 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 129 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 109 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 147 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 142 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 141 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 56 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 50 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 53 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 89 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 143 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 145 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 23 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 20 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 119 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 41 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 153 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 149 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 151 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 150 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 11 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 38 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 65 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 80 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 83 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 77 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 68 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 74 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 14 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 135 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 71 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 110 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 111 of file SCR_InputButtonComponent.c.
|
protected |
Definition at line 107 of file SCR_InputButtonComponent.c.