![]() |
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) |
| void | OnMenuFocusGained (ChimeraMenuBase menu) |
| void | OnMenuFocusLost (ChimeraMenuBase menu) |
| void | OnEachFrame () |
| void | Update (float tDelta, ScrollLayoutWidget wScroll) |
| Call this from the menu, or if used as widget component it gets called automatically. | |
| void | HandleGamepadVScrolling (float tDelta, ScrollLayoutWidget wScroll) |
| void | HandleGamepadHScrolling (float tDelta, ScrollLayoutWidget wScroll) |
| float | GetMouseScrollInput () |
| void | TryFindNewFocus (ScrollLayoutWidget wScroll) |
| Tries to find the new widget to focus. | |
| void | SetTryFindNewFocus (bool tryFindNewFocus) |
| void | SetEnabled (bool enabled) |
| void | SetEnabled_Internal (bool enabled) |
| void | SetForceDisabled (bool forceDisabled) |
Static Protected Member Functions | |
| static float | GetHScrollInput () |
| static float | GetVScrollInput () |
| static void | TryUnfocusWidget (Widget scroll) |
| static vector | GetVReferencePoint (ScrollLayoutWidget wScroll) |
| Returns reference point of the scroll widget. | |
| static vector | GetHReferencePoint (ScrollLayoutWidget wScroll) |
| Returns reference point of the scroll widget. | |
| static float | GetFocusMetric (vector v0, Widget w) |
| static SCR_Rect2D | GetWidgetRect (Widget w) |
| Returns a rect created from widget's GetScreenPos and GetScreenSize. | |
| static void | FindAllButtons (Widget w, array< Widget > arrayOut) |
| Finds all buttons recursively. | |
Static Protected Attributes | |
| static const float | SCROLL_SPEED_PX_PER_SECOND_MAX = 1500 |
| static const float | WIDGET_DETECTION_MARGIN_PX = 3 |
| static const float | MOUSE_SCROLL_SPEED = 5 |
| static const float | MOUSE_RAW_SCROLL_SPEED = 1000 |
A component with some functions related to scrolling with gamepad. It solves smooth scrolling with thumb stick and auto-focusing of widgets when such scrolling is performed.
Must be attached to a vertical scroll widget.
Definition at line 10 of file SCR_GamepadScroll.c.
|
inlinestaticprotected |
Finds all buttons recursively.
Definition at line 423 of file SCR_GamepadScroll.c.
Definition at line 385 of file SCR_GamepadScroll.c.
|
inlinestaticprotected |
Returns reference point of the scroll widget.
Definition at line 359 of file SCR_GamepadScroll.c.
|
inlinestaticprotected |
Definition at line 230 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 242 of file SCR_GamepadScroll.c.
|
inlinestaticprotected |
Returns reference point of the scroll widget.
Definition at line 333 of file SCR_GamepadScroll.c.
|
inlinestaticprotected |
Definition at line 236 of file SCR_GamepadScroll.c.
|
inlinestaticprotected |
Returns a rect created from widget's GetScreenPos and GetScreenSize.
Definition at line 402 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 201 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 172 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 44 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 63 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 91 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 77 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 84 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 448 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 455 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 465 of file SCR_GamepadScroll.c.
|
inlineprotected |
Definition at line 442 of file SCR_GamepadScroll.c.
|
inlineprotected |
Tries to find the new widget to focus.
Definition at line 275 of file SCR_GamepadScroll.c.
|
inlinestaticprotected |
Definition at line 259 of file SCR_GamepadScroll.c.
|
inlineprotected |
Call this from the menu, or if used as widget component it gets called automatically.
Definition at line 102 of file SCR_GamepadScroll.c.
|
protected |
Definition at line 22 of file SCR_GamepadScroll.c.
|
protected |
Definition at line 41 of file SCR_GamepadScroll.c.
|
protected |
Definition at line 19 of file SCR_GamepadScroll.c.
|
protected |
Definition at line 39 of file SCR_GamepadScroll.c.
|
protected |
Definition at line 16 of file SCR_GamepadScroll.c.
Definition at line 40 of file SCR_GamepadScroll.c.
|
protected |
Definition at line 13 of file SCR_GamepadScroll.c.
|
protected |
Definition at line 31 of file SCR_GamepadScroll.c.
|
staticprotected |
Definition at line 29 of file SCR_GamepadScroll.c.
|
staticprotected |
Definition at line 28 of file SCR_GamepadScroll.c.
|
staticprotected |
Definition at line 25 of file SCR_GamepadScroll.c.
|
staticprotected |
Definition at line 26 of file SCR_GamepadScroll.c.