|
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.
|
|
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) |
|
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.
|
|
Widget | GetRootWidget () |
|
bool | IsVisible () |
|
|
static SCR_EditBoxComponent | GetEditBoxComponent (string name, Widget parent, bool searchAllChildren=true) |
| Static method to easily find component by providing name and parent.
|
|
static bool | SetTexture (ImageWidget widget, ResourceName texture, string image="") |
|
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
| Base method for component lookup through the widget library.
|
|
◆ ActivateWriteMode()
void SCR_EditBoxComponent.ActivateWriteMode |
( |
bool | refocus = false | ) |
|
Set write mode of editbox handler.
◆ ChangeOverlayColor()
void SCR_EditBoxComponent.ChangeOverlayColor |
( |
Color | color | ) |
|
◆ ClearInteractionState()
void SCR_EditBoxComponent.ClearInteractionState |
( |
| ) |
|
◆ ClearInvalidInput()
void SCR_EditBoxComponent.ClearInvalidInput |
( |
| ) |
|
◆ ConfirmValue()
void SCR_EditBoxComponent.ConfirmValue |
( |
string | value | ) |
|
Set string value to editbox and confirm.
◆ GetEditBoxComponent()
static SCR_EditBoxComponent SCR_EditBoxComponent.GetEditBoxComponent |
( |
string | name, |
|
|
Widget | parent, |
|
|
bool | searchAllChildren = true ) |
|
static |
Static method to easily find component by providing name and parent.
Searching all children will go through whole hierarchy, instead of immediate chidren
◆ GetEditBoxText()
string SCR_EditBoxComponent.GetEditBoxText |
( |
| ) |
|
|
protected |
◆ GetEditBoxWidget()
Widget SCR_EditBoxComponent.GetEditBoxWidget |
( |
| ) |
|
◆ GetEVHComponent()
◆ GetHint()
◆ GetPlaceHolderText()
string SCR_EditBoxComponent.GetPlaceHolderText |
( |
| ) |
|
◆ GetPlaceholderText()
string SCR_EditBoxComponent.GetPlaceholderText |
( |
| ) |
|
|
protected |
◆ GetValue()
string SCR_EditBoxComponent.GetValue |
( |
| ) |
|
◆ HandlerAttached()
override void SCR_EditBoxComponent.HandlerAttached |
( |
Widget | w | ) |
|
◆ HandlerDeattached()
override void SCR_EditBoxComponent.HandlerDeattached |
( |
Widget | w | ) |
|
◆ IsInWriteMode()
bool SCR_EditBoxComponent.IsInWriteMode |
( |
| ) |
|
◆ IsValidInput()
bool SCR_EditBoxComponent.IsValidInput |
( |
| ) |
|
◆ OnCancel()
void SCR_EditBoxComponent.OnCancel |
( |
| ) |
|
|
protected |
◆ OnConfirm()
void SCR_EditBoxComponent.OnConfirm |
( |
Widget | w | ) |
|
|
protected |
◆ OnFocus()
override bool SCR_EditBoxComponent.OnFocus |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y ) |
◆ OnHandlerFocus()
void SCR_EditBoxComponent.OnHandlerFocus |
( |
| ) |
|
◆ OnHandlerFocusLost()
void SCR_EditBoxComponent.OnHandlerFocusLost |
( |
| ) |
|
◆ OnInternalButtonClicked()
void SCR_EditBoxComponent.OnInternalButtonClicked |
( |
| ) |
|
|
protected |
◆ OnInvalidInput()
void SCR_EditBoxComponent.OnInvalidInput |
( |
| ) |
|
◆ OnValueChanged()
void SCR_EditBoxComponent.OnValueChanged |
( |
| ) |
|
◆ ResetOverlayColor()
void SCR_EditBoxComponent.ResetOverlayColor |
( |
| ) |
|
◆ SetEditBoxText()
void SCR_EditBoxComponent.SetEditBoxText |
( |
string | text | ) |
|
|
protected |
◆ SetPlaceholderText()
void SCR_EditBoxComponent.SetPlaceholderText |
( |
string | str | ) |
|
◆ SetValue()
void SCR_EditBoxComponent.SetValue |
( |
string | value | ) |
|
◆ ShowHint()
void SCR_EditBoxComponent.ShowHint |
( |
bool | show | ) |
|
◆ ShowWriteIcon()
void SCR_EditBoxComponent.ShowWriteIcon |
( |
bool | show | ) |
|
◆ UpdateBackgroundColor()
void SCR_EditBoxComponent.UpdateBackgroundColor |
( |
| ) |
|
|
protected |
◆ UpdateInteractionState()
void SCR_EditBoxComponent.UpdateInteractionState |
( |
bool | forceDisabled | ) |
|
◆ COLOR_INVALID_INPUT
◆ COLOR_VALID_INPUT
ref Color SCR_EditBoxComponent.COLOR_VALID_INPUT = Color.White |
|
protected |
◆ FOCUS_LOST_INTERACTION_STATE_UPDATE_DELAY
◆ INTERACTION_STATE_UPDATE_FREQUENCY
const int SCR_EditBoxComponent.INTERACTION_STATE_UPDATE_FREQUENCY = 50 |
|
staticprotected |
◆ m_BackgroundCurrent
ref Color SCR_EditBoxComponent.m_BackgroundCurrent |
|
protected |
◆ m_BackgroundDefault
ref Color SCR_EditBoxComponent.m_BackgroundDefault |
|
protected |
◆ m_BackgroundFocused
ref Color SCR_EditBoxComponent.m_BackgroundFocused |
|
protected |
◆ m_BackgroundInteracting
ref Color SCR_EditBoxComponent.m_BackgroundInteracting |
|
protected |
◆ m_bIsFocused
bool SCR_EditBoxComponent.m_bIsFocused |
|
protected |
◆ m_bIsInWriteMode
bool SCR_EditBoxComponent.m_bIsInWriteMode |
|
protected |
◆ m_bIsInWriteModePrevious
bool SCR_EditBoxComponent.m_bIsInWriteModePrevious |
|
protected |
◆ m_bIsTyping
bool SCR_EditBoxComponent.m_bIsTyping |
|
protected |
◆ m_bShowInvalidInputWarning
bool SCR_EditBoxComponent.m_bShowInvalidInputWarning |
|
protected |
◆ m_bShowWriteIcon
bool SCR_EditBoxComponent.m_bShowWriteIcon |
|
protected |
◆ m_bValidInput
bool SCR_EditBoxComponent.m_bValidInput = true |
|
protected |
◆ m_EVHComponent
◆ m_fColorsAnimationTime
float SCR_EditBoxComponent.m_fColorsAnimationTime |
|
protected |
◆ m_fOpacityDefault
float SCR_EditBoxComponent.m_fOpacityDefault |
|
protected |
◆ m_fOpacityFocused
float SCR_EditBoxComponent.m_fOpacityFocused |
|
protected |
◆ m_Hint
◆ m_OnCancel
ref ScriptInvokerVoid SCR_EditBoxComponent.m_OnCancel = new ScriptInvokerVoid() |
◆ m_OnConfirm
ref ScriptInvoker SCR_EditBoxComponent.m_OnConfirm = new ScriptInvoker() |
◆ m_OnFocusChangedEditBox
ref ScriptInvoker SCR_EditBoxComponent.m_OnFocusChangedEditBox = new ScriptInvoker() |
◆ m_OnTextChange
ref ScriptInvokerString SCR_EditBoxComponent.m_OnTextChange = new ScriptInvokerString() |
◆ m_OnWriteModeEnter
ref ScriptInvokerVoid SCR_EditBoxComponent.m_OnWriteModeEnter = new ScriptInvokerVoid() |
◆ m_OnWriteModeLeave
ref ScriptInvokerString SCR_EditBoxComponent.m_OnWriteModeLeave = new ScriptInvokerString() |
◆ m_sIconImageName
string SCR_EditBoxComponent.m_sIconImageName |
|
protected |
◆ m_sIconImageSet
ResourceName SCR_EditBoxComponent.m_sIconImageSet |
|
protected |
◆ m_sTextPrevious
string SCR_EditBoxComponent.m_sTextPrevious |
|
protected |
◆ m_sWarningText
string SCR_EditBoxComponent.m_sWarningText |
|
protected |
◆ m_sWriteIconButtonName
string SCR_EditBoxComponent.m_sWriteIconButtonName |
|
protected |
◆ m_wColorOverlay
Widget SCR_EditBoxComponent.m_wColorOverlay |
◆ m_wEditBackground
Widget SCR_EditBoxComponent.m_wEditBackground |
◆ m_wEditBox
Widget SCR_EditBoxComponent.m_wEditBox |
◆ m_wEditBoxWidget
EditBoxWidget SCR_EditBoxComponent.m_wEditBoxWidget |
|
protected |
◆ m_wHorizontalLayout
Widget SCR_EditBoxComponent.m_wHorizontalLayout |
◆ m_wImgWriteIcon
ImageWidget SCR_EditBoxComponent.m_wImgWriteIcon |
◆ m_wMultilineEditBoxWidget
MultilineEditBoxWidget SCR_EditBoxComponent.m_wMultilineEditBoxWidget |
|
protected |
◆ m_WriteIconButton
◆ m_wWarningIcon
Widget SCR_EditBoxComponent.m_wWarningIcon |
◆ m_wWriteIconScale
Widget SCR_EditBoxComponent.m_wWriteIconScale |
The documentation for this interface was generated from the following file:
- Game/UI/Components/WidgetLibrary/SCR_EditBox/SCR_EditBoxComponent.c