Arma Reforger Script API
|
Scripte WLib scroll bar Can be controlled indivualy and be used for multiple purporse
More...
Public Member Functions | |
override void | HandlerAttached (Widget w) |
void | SetupHandlerFill (float fillAmount) |
Set amount of handler fill in percent. | |
void | SetupPosition (float fillAmount, float pos) |
Setup fill of top and boom fillers by handler fill amount and current scroll position. | |
void | MoveHandlerPos (float pos) |
float | GetHandlerPosition () |
Public Member Functions inherited from SCR_WLibComponentBase | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnFocus (Widget w, int x, int y) |
void | SetHoverSound (string soundHover) |
void | SetClickedSound (string soundClicked) |
string | GetHoverSound () |
string | GetClickedSound () |
void | SetEnabled (bool enabled, bool animate=true) |
void | SetVisible (bool visible, bool animate=true) |
bool | IsEnabled () |
void | SetMouseOverToFocus (bool mouseOverToFocus) |
void | SetDisabledOpacity (float newDisabledOpacity) |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Public Attributes | |
ref ScriptInvoker | m_OnScroll = new ScriptInvoker |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Protected Member Functions | |
void | DragHandler () |
void | SetupScrollbarProperties () |
Setup base position and size properties. | |
Protected Member Functions inherited from SCR_WLibComponentBase | |
void | OnEnabled (bool animate) |
void | OnDisabled (bool animate) |
bool | IsChildWidget (Widget parent, Widget child) |
void | SetAnimationRate () |
void | PlaySound (string sound) |
Protected Attributes | |
string | WIDGET_BACKGROUND = "Background" |
string | WIDGET_HANDLER = "Handler" |
string | WIDGET_FILLER_TOP = "FillerTop" |
string | WIDGET_FILLER_BOTTOM = "FillerBottom" |
Widget | m_wBackground |
Widget | m_wHandler |
Widget | m_wFillerTop |
Widget | m_wFillerBottom |
bool | m_IsClicked = false |
int | mouseX |
int | mouseY = 0 |
float | m_fRootPosY |
float | m_fRootSizeY |
float | m_fHandlerAmount = 1 |
float | m_fHandlerPositon = 0 |
ref SCR_ScrollBarHandleComponent | m_Handle |
Protected Attributes inherited from SCR_WLibComponentBase | |
string | m_sSoundHovered |
string | m_sSoundClicked |
float | m_fAnimationTime |
bool | m_bMouseOverToFocus |
float | m_fDisabledOpacity |
float | m_fAnimationRate |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
Widget | m_wRoot |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_WLibComponentBase | |
static bool | SetTexture (ImageWidget widget, ResourceName texture, string image="") |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
Static Public Attributes inherited from SCR_WLibComponentBase | |
static const float | START_ANIMATION_RATE = 10001 |
static const float | START_ANIMATION_PERIOD = 250 |
Scripte WLib scroll bar Can be controlled indivualy and be used for multiple purporse
|
protected |
float SCR_ScrollBarComponent.GetHandlerPosition | ( | ) |
override void SCR_ScrollBarComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_WLibComponentBase.
void SCR_ScrollBarComponent.MoveHandlerPos | ( | float | pos | ) |
void SCR_ScrollBarComponent.SetupHandlerFill | ( | float | fillAmount | ) |
Set amount of handler fill in percent.
void SCR_ScrollBarComponent.SetupPosition | ( | float | fillAmount, |
float | pos | ||
) |
Setup fill of top and boom fillers by handler fill amount and current scroll position.
|
protected |
Setup base position and size properties.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
ref ScriptInvoker SCR_ScrollBarComponent.m_OnScroll = new ScriptInvoker |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |