|
Arma Reforger Script API
|
Base class for all widgets that can change their internal state as editbox or spinbox. More...
Public Member Functions | |
| override void | HandlerAttached (Widget w) |
| 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) |
| TextWidget | GetLabel () |
| void | SetLabel (string label) |
| void | UseLabel (bool use) |
| bool | IsUsingLabel () |
| Widget | GetLabelWidget () |
| If label is not used, label widget might not exist at all! | |
| void | SetSizeWithLabel (float size) |
| void | SetSizeWithoutLabel (float size) |
Public Member Functions inherited from SCR_WLibComponentBase | |
| override bool | OnClick (Widget w, int x, int y, int button) |
| 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) |
| void | SetData (Managed data) |
| Store custom data. | |
| Managed | GetData () |
| Get stored data. | |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| Widget | GetRootWidget () |
| bool | IsVisible () |
Public Attributes | |
| ref ScriptInvoker | m_OnChanged = new ScriptInvoker() |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
| ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Protected Member Functions | |
| void | SetupLabel () |
| void | ClearLabel () |
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 | |
| bool | m_bUseLabel |
| string | m_sLabel |
| bool | m_bForceSize |
| float | m_fSizeWithLabel |
| float | m_fSizeWithoutLabel |
| ResourceName | m_sLabelLayout |
| string | m_sSizeLayout |
| Widget | m_wBorder |
| Widget | m_wBackground |
| Widget | m_wLabelRoot |
Protected Attributes inherited from SCR_WLibComponentBase | |
| string | m_sSoundHovered |
| string | m_sSoundClicked |
| string | m_sSoundContainerClosed |
| float | m_fAnimationTime |
| bool | m_bMouseOverToFocus |
| float | m_fDisabledOpacity |
| float | m_fAnimationRate |
| ref Managed | m_UserData |
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 |
Base class for all widgets that can change their internal state as editbox or spinbox.
|
protected |
| TextWidget SCR_ChangeableComponentBase.GetLabel | ( | ) |
| Widget SCR_ChangeableComponentBase.GetLabelWidget | ( | ) |
If label is not used, label widget might not exist at all!
| override void SCR_ChangeableComponentBase.HandlerAttached | ( | Widget | w | ) |
Implements SCR_WLibComponentBase.
Implemented in SCR_ComboBoxComponent, SCR_ComboBoxIconComponent, SCR_EditBoxComponent, SCR_EditBoxSearchComponent, SCR_ImagePickerComponent, SCR_InventorySpinBoxComponent, SCR_SaveImageGalleryPickerComponent, SCR_ServerSortingComponent, SCR_SliderComponent, SCR_SpinBoxComponent, SCR_ToolboxComponent, and SCR_ToolboxMultilineComponent.
| bool SCR_ChangeableComponentBase.IsUsingLabel | ( | ) |
| override bool SCR_ChangeableComponentBase.OnFocus | ( | Widget | w, |
| int | x, | ||
| int | y ) |
Implements SCR_WLibComponentBase.
Implemented in SCR_ComboBoxComponent, SCR_EditBoxComponent, SCR_InventorySpinBoxComponent, SCR_SliderComponent, SCR_SpawnPointSpinBox, SCR_SpinBoxComponent, and SCR_ToolboxComponent.
| override bool SCR_ChangeableComponentBase.OnFocusLost | ( | Widget | w, |
| int | x, | ||
| int | y ) |
Implemented in SCR_ComboBoxComponent, SCR_InventorySpinBoxComponent, SCR_SpawnPointSpinBox, SCR_SpinBoxComponent, and SCR_ToolboxComponent.
| override bool SCR_ChangeableComponentBase.OnMouseEnter | ( | Widget | w, |
| int | x, | ||
| int | y ) |
Implements SCR_WLibComponentBase.
Implemented in SCR_EditBoxSearchComponent, and SCR_ToolboxComponent.
| override bool SCR_ChangeableComponentBase.OnMouseLeave | ( | Widget | w, |
| Widget | enterW, | ||
| int | x, | ||
| int | y ) |
| void SCR_ChangeableComponentBase.SetLabel | ( | string | label | ) |
| void SCR_ChangeableComponentBase.SetSizeWithLabel | ( | float | size | ) |
| void SCR_ChangeableComponentBase.SetSizeWithoutLabel | ( | float | size | ) |
|
protected |
| void SCR_ChangeableComponentBase.UseLabel | ( | bool | use | ) |
|
protected |
|
protected |
|
protected |
|
protected |
| ref ScriptInvoker SCR_ChangeableComponentBase.m_OnChanged = new ScriptInvoker() |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |