Arma Reforger Script API
|
Base class for all final Reforger interactive elements. More...
Public Member Functions | |
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 () |
Static Public Member Functions | |
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 | |
static const float | START_ANIMATION_RATE = 10001 |
static const float | START_ANIMATION_PERIOD = 250 |
Protected Member Functions | |
void | OnEnabled (bool animate) |
void | OnDisabled (bool animate) |
bool | IsChildWidget (Widget parent, Widget child) |
void | SetAnimationRate () |
void | PlaySound (string sound) |
Protected Attributes | |
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 | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Base class for all final Reforger interactive elements.
string SCR_WLibComponentBase.GetClickedSound | ( | ) |
string SCR_WLibComponentBase.GetHoverSound | ( | ) |
override void SCR_WLibComponentBase.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScriptedWidgetComponent.
Implemented in SCR_GroupFlagImageComponent, SCR_ToolMenuButtonComponent, SCR_TaskListEntryHandler, SCR_TaskPlayerListEntryHandler, SCR_ModdedScenarioComponent, SCR_ButtonBaseComponent, SCR_ButtonImageComponent, SCR_ButtonTextComponent, SCR_ButtonComponent, SCR_ButtonSplitComponent, SCR_ChangeableComponentBase, SCR_ButtonCheckerComponent, SCR_ComboBoxComponent, SCR_ComboBoxIconComponent, SCR_EditBoxComponent, SCR_EditBoxSearchComponent, SCR_WidgetHintComponent, SCR_ImageGalleryButtonComponent, SCR_InputButtonComponent, SCR_LoadingCircleComponent, SCR_MultipleStatesButtonComponent, SCR_PagingButtonComponent, SCR_ScrollBarComponent, SCR_ScrollBarHandleComponent, SCR_SelectableButtonComponent, SCR_SelectableTileButtonComponent, SCR_SliderComponent, SCR_SpinBoxComponent, SCR_SpinBoxPagingComponent, SCR_ToolboxComponent, SCR_ToolboxMultilineComponent, SCR_InventorySpinBoxComponent, SCR_ButtonLegendComponent, SCR_ButtonSpecializationProgressComponent, SCR_ImagePickerComponent, SCR_SaveImageGalleryPickerComponent, SCR_AddonLinePresetComponent, SCR_ContentEntryComponent, SCR_ModEntryComponent, SCR_DeployButton, SCR_DeployButtonBase, SCR_FactionButton, SCR_GroupButton, SCR_LoadoutButton, SCR_ServerDetailEntryComponent, and SCR_ServerSortingComponent.
|
protected |
bool SCR_WLibComponentBase.IsEnabled | ( | ) |
override bool SCR_WLibComponentBase.OnClick | ( | Widget | w, |
int | x, | ||
int | y, | ||
int | button | ||
) |
Implements SCR_ScriptedWidgetComponent.
Implemented in SCR_GroupTileButton, SCR_TaskListEntryHandler, SCR_InventoryNavigationButtonBack, SCR_ButtonBaseComponent, SCR_ButtonCheckerComponent, SCR_ImageGalleryButtonComponent, SCR_InputButtonComponent, SCR_MultipleStatesButtonComponent, SCR_PagingButtonComponent, SCR_SelectableButtonComponent, SCR_SelectableTileButtonComponent, SCR_ButtonLegendComponent, SCR_ButtonSpecializationProgressComponent, and SCR_DeployButtonBase.
|
protected |
Implemented in SCR_ComboBoxComponent, and SCR_InputButtonComponent.
|
protected |
Implemented in SCR_ComboBoxComponent, and SCR_InputButtonComponent.
override bool SCR_WLibComponentBase.OnFocus | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
Implemented in SCR_GroupTileButton, SCR_TaskListEntryHandler, SCR_TaskPlayerListEntryHandler, SCR_ModdedScenarioComponent, SCR_ButtonBaseComponent, SCR_ButtonComponent, SCR_ChangeableComponentBase, SCR_ComboBoxComponent, SCR_EditBoxComponent, SCR_MultipleStatesButtonComponent, SCR_SelectableButtonComponent, SCR_SelectableTileButtonComponent, SCR_SliderComponent, SCR_SpinBoxComponent, SCR_ToolboxComponent, SCR_InventorySpinBoxComponent, SCR_ButtonLegendComponent, SCR_AddonLinePresetComponent, SCR_ModEntryComponent, SCR_DeployButtonBase, SCR_LoadoutButton, and SCR_SpawnPointSpinBox.
override bool SCR_WLibComponentBase.OnMouseEnter | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
Implemented in SCR_TaskPlayerListEntryHandler, SCR_ButtonBaseComponent, SCR_ButtonImageComponent, SCR_ButtonTextComponent, SCR_ButtonComponent, SCR_ButtonSplitComponent, SCR_ChangeableComponentBase, SCR_EditBoxSearchComponent, SCR_InputButtonComponent, SCR_MultipleStatesButtonComponent, SCR_PagingButtonComponent, SCR_ScrollBarHandleComponent, SCR_SelectableButtonComponent, SCR_SelectableTileButtonComponent, SCR_ToolboxComponent, SCR_ButtonLegendComponent, and SCR_ButtonSpecializationProgressComponent.
|
protected |
|
protected |
void SCR_WLibComponentBase.SetClickedSound | ( | string | soundClicked | ) |
void SCR_WLibComponentBase.SetDisabledOpacity | ( | float | newDisabledOpacity | ) |
void SCR_WLibComponentBase.SetEnabled | ( | bool | enabled, |
bool | animate = true |
||
) |
Implemented in SCR_InputButtonComponent, SCR_PagingButtonComponent, and SCR_DeployButtonBase.
void SCR_WLibComponentBase.SetHoverSound | ( | string | soundHover | ) |
void SCR_WLibComponentBase.SetMouseOverToFocus | ( | bool | mouseOverToFocus | ) |
|
static |
void SCR_WLibComponentBase.SetVisible | ( | bool | visible, |
bool | animate = true |
||
) |
Implemented in SCR_WidgetHintComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |