Arma Reforger Script API
|
Public Member Functions | |
override bool | OnMouseEnter (Widget w, int x, int y) |
override void | OnHandlerFocus () |
override void | OnHandlerFocusLost () |
override void | UpdateInteractionState (bool forceDisabled) |
bool | SetMessage (string message) |
Public Member Functions inherited from SCR_EditBoxComponent | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
override bool | OnFocus (Widget w, int x, int y) |
void | OnValueChanged () |
void | OnHandlerFocus () |
void | OnHandlerFocusLost () |
void | OnInvalidInput () |
void | ClearInvalidInput () |
void | ChangeOverlayColor (Color color) |
void | ResetOverlayColor () |
void | SetPlaceholderText (string str) |
void | ActivateWriteMode (bool refocus=false) |
Set write mode of editbox handler. | |
void | ShowHint (bool show) |
void | ShowWriteIcon (bool show) |
void | UpdateInteractionState (bool forceDisabled) |
void | ClearInteractionState () |
void | SetValue (string value) |
User API. | |
string | GetValue () |
string | GetPlaceHolderText () |
Widget | GetEditBoxWidget () |
bool | IsValidInput () |
SCR_WidgetHintComponent | GetHint () |
bool | IsInWriteMode () |
SCR_EventHandlerComponent | GetEVHComponent () |
void | ConfirmValue (string value) |
Set string value to editbox and confirm. | |
Public Member Functions inherited from SCR_ChangeableComponentBase | |
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 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 SCR_EditBoxSearchComponent | GetEditBoxSearchComponent (string name, Widget parent, bool searchAllChildren=true) |
Static method to easily find component by providing name and parent. | |
Static Public Member Functions inherited from SCR_EditBoxComponent | |
static SCR_EditBoxComponent | GetEditBoxComponent (string name, Widget parent, bool searchAllChildren=true) |
Static method to easily find component by providing name and parent. | |
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. | |
Protected Member Functions | |
override void | HandlerAttached (Widget w) |
override void | OnConfirm (Widget w) |
void | UpdateWidgets (bool animate=true) |
Protected Member Functions inherited from SCR_EditBoxComponent | |
void | OnCancel () |
void | OnConfirm (Widget w) |
void | OnInternalButtonClicked () |
string | GetEditBoxText () |
void | SetEditBoxText (string text) |
string | GetPlaceholderText () |
void | UpdateBackgroundColor () |
Protected Member Functions inherited from SCR_ChangeableComponentBase | |
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) |
Additional Inherited Members | |
Public Attributes inherited from SCR_EditBoxComponent | |
Widget | m_wEditBox |
Widget | m_wColorOverlay |
Widget | m_wEditBackground |
Widget | m_wWarningIcon |
Widget | m_wHorizontalLayout |
Widget | m_wWriteIconScale |
ImageWidget | m_wImgWriteIcon |
ref ScriptInvoker | m_OnConfirm = new ScriptInvoker() |
ref ScriptInvoker | m_OnFocusChangedEditBox = new ScriptInvoker() |
ref ScriptInvokerVoid | m_OnWriteModeEnter = new ScriptInvokerVoid() |
ref ScriptInvokerVoid | m_OnCancel = new ScriptInvokerVoid() |
ref ScriptInvokerString | m_OnWriteModeLeave = new ScriptInvokerString() |
ref ScriptInvokerString | m_OnTextChange = new ScriptInvokerString() |
Public Attributes inherited from SCR_ChangeableComponentBase | |
ref ScriptInvoker | m_OnChanged = new ScriptInvoker() |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Static Public Attributes inherited from SCR_WLibComponentBase | |
static const float | START_ANIMATION_RATE = 10001 |
static const float | START_ANIMATION_PERIOD = 250 |
Static Protected Attributes inherited from SCR_EditBoxComponent | |
const int | INTERACTION_STATE_UPDATE_FREQUENCY = 50 |
const int | FOCUS_LOST_INTERACTION_STATE_UPDATE_DELAY = 1000 / UIConstants.FADE_RATE_DEFAULT |
|
static |
Static method to easily find component by providing name and parent.
Searching all children will go through whole hierarchy, instead of immediate chidren
|
protected |
Implements SCR_EditBoxComponent.
|
protected |
Implements SCR_EditBoxComponent.
override void SCR_EditBoxSearchComponent.OnHandlerFocus | ( | ) |
Implements SCR_EditBoxComponent.
override void SCR_EditBoxSearchComponent.OnHandlerFocusLost | ( | ) |
Implements SCR_EditBoxComponent.
override bool SCR_EditBoxSearchComponent.OnMouseEnter | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
Implements SCR_ChangeableComponentBase.
bool SCR_EditBoxSearchComponent.SetMessage | ( | string | message | ) |
override void SCR_EditBoxSearchComponent.UpdateInteractionState | ( | bool | forceDisabled | ) |
Implements SCR_EditBoxComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |