HPL3/Amnesia: Rebirth/Scripting/cWidgetTextBox
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 AddShortcut
- 3.2 AttachChild
- 3.3 CenterGlobalPositionInSet
- 3.4 ClipsGraphics
- 3.5 GetBackgroundSize
- 3.6 GetCallbackOnLostFocus
- 3.7 GetCallbacksDisabled
- 3.8 GetCanEdit
- 3.9 GetChildrenOffset
- 3.10 GetClipActive
- 3.11 GetColorMul
- 3.12 GetDecimals
- 3.13 GetDefaultFontColor
- 3.14 GetDefaultFontSize
- 3.15 GetDefaultFontType
- 3.16 GetFocusNavigation
- 3.17 GetForceCallBackOnEnter
- 3.18 GetGlobalPosition
- 3.19 GetIllegalChars
- 3.20 GetLegalCharCodeLimitEnabled
- 3.21 GetLocalPosition
- 3.22 GetLowerBound
- 3.23 GetMaxTextLength
- 3.24 GetMouseIsOver
- 3.25 GetName
- 3.26 GetNumericAdd
- 3.27 GetNumericValue
- 3.28 GetParent
- 3.29 GetPointerGfx
- 3.30 GetScrollAmount
- 3.31 GetSet
- 3.32 GetSize
- 3.33 GetText
- 3.34 GetToolTip
- 3.35 GetToolTipWidget
- 3.36 GetType
- 3.37 GetUpperBound
- 3.38 GetUserValue
- 3.39 HasFocus
- 3.40 HasFocusNavigation
- 3.41 Init
- 3.42 IsConnectedTo
- 3.43 IsConnectedToChildren
- 3.44 IsEnabled
- 3.45 IsGlobalKeyPressListener
- 3.46 IsGlobalUIInputListener
- 3.47 IsRightUnderMouse
- 3.48 IsVisible
- 3.49 PointIsInside
- 3.50 ProcessMessage
- 3.51 RemoveChild
- 3.52 SetAffectedByScroll
- 3.53 SetCallbackOnLostFocus
- 3.54 SetCallbacksDisabled
- 3.55 SetCanEdit
- 3.56 SetChildrenOffset
- 3.57 SetClipActive
- 3.58 SetColorMul
- 3.59 SetConnectedToChildren
- 3.60 SetDecimals
- 3.61 SetDefaultFontColor
- 3.62 SetDefaultFontSize
- 3.63 SetDefaultFontType
- 3.64 SetEnabled
- 3.65 SetFocusNavigation
- 3.66 SetForceCallBackOnEnter
- 3.67 SetGlobalKeyPressListener
- 3.68 SetGlobalPosition
- 3.69 SetGlobalUIInputListener
- 3.70 SetIllegalChars
- 3.71 SetLegalCharCodeLimitEnabled
- 3.72 SetLowerBound
- 3.73 SetMaxTextLength
- 3.74 SetMaxTextSizeNeg
- 3.75 SetName
- 3.76 SetNumericAdd
- 3.77 SetNumericValue
- 3.78 SetPosition
- 3.79 SetScrollAmount
- 3.80 SetSelectedText
- 3.81 SetShowButtons
- 3.82 SetSize
- 3.83 SetText
- 3.84 SetToolTip
- 3.85 SetToolTipEnabled
- 3.86 SetUpperBound
- 3.87 SetUserValue
- 3.88 SetVisible
- 3.89 Update
- 4 References
Fields
cWidgetTextBox has no public fields.
Functions
Details
AddShortcut
cGuiGlobalShortcut@ AddShortcut(int alKeyModifiers,
eKey aKey,
eGuiMessage aMsg = eGuiMessage_ButtonPressed,
const cGuiMessageData &in aData = cGuiMessageData,
bool abBypassVisibility = true,
bool abBypassEnabled = true)
Parameters
- alKeyModifiers (int) —
- aKey (eKey) —
- aMsg (eGuiMessage) —
- aData (cGuiMessageData) —
- abBypassVisibility (bool) —
- abBypassEnabled (bool) —
Returns:
- cGuiGlobalShortcut@—
AttachChild
CenterGlobalPositionInSet
void CenterGlobalPositionInSet()
Returns:
- void
ClipsGraphics
bool ClipsGraphics()
Returns:
- bool—
GetBackgroundSize
cVector2f GetBackgroundSize()
Returns:
- cVector2f—
GetCallbackOnLostFocus
bool GetCallbackOnLostFocus()
Returns:
- bool—
GetCallbacksDisabled
bool GetCallbacksDisabled()
Returns:
- bool—
GetCanEdit
bool GetCanEdit()
Returns:
- bool—
GetChildrenOffset
const cVector3f& GetChildrenOffset()
Returns:
- const cVector3f&—
GetClipActive
bool GetClipActive()
Returns:
- bool—
GetColorMul
const cColor& GetColorMul()
Returns:
- const cColor&—
GetDecimals
int GetDecimals()
Returns:
- int—
GetDefaultFontColor
const cColor& GetDefaultFontColor()
Returns:
- const cColor&—
GetDefaultFontSize
const cVector2f& GetDefaultFontSize()
Returns:
- const cVector2f&—
GetDefaultFontType
iFontData@ GetDefaultFontType()
Returns:
- iFontData@—
GetForceCallBackOnEnter
bool GetForceCallBackOnEnter()
Returns:
- bool—
GetGlobalPosition
const cVector3f& GetGlobalPosition()
Returns:
- const cVector3f&—
GetIllegalChars
const tWString& GetIllegalChars()
Returns:
- const tWString&—
GetLegalCharCodeLimitEnabled
bool GetLegalCharCodeLimitEnabled()
Returns:
- bool—
GetLocalPosition
const cVector3f& GetLocalPosition()
Returns:
- const cVector3f&—
GetLowerBound
float GetLowerBound()
Returns:
- float—
GetMaxTextLength
int GetMaxTextLength()
Returns:
- int—
GetMouseIsOver
bool GetMouseIsOver()
Returns:
- bool—
GetName
const tString& GetName()
Returns:
- const tString&—
GetNumericAdd
float GetNumericAdd()
Returns:
- float—
GetNumericValue
float GetNumericValue()
Returns:
- float—
GetParent
iWidget@ GetParent()
Returns:
- iWidget@—
GetPointerGfx
cGuiGfxElement@ GetPointerGfx()
Returns:
- cGuiGfxElement@—
GetScrollAmount
const cVector3f& GetScrollAmount()
Returns:
- const cVector3f&—
GetSet
cGuiSet@ GetSet()
Returns:
- cGuiSet@—
GetSize
const cVector2f& GetSize()
Returns:
- const cVector2f&—
GetText
const tWString& GetText()
Returns:
- const tWString&—
GetToolTip
const tWString& GetToolTip()
Returns:
- const tWString&—
GetToolTipWidget
iWidget@ GetToolTipWidget()
Returns:
- iWidget@—
GetType
eWidgetType GetType()
Returns:
- eWidgetType—
GetUpperBound
float GetUpperBound()
Returns:
- float—
GetUserValue
int GetUserValue()
Returns:
- int—
HasFocus
bool HasFocus()
Returns:
- bool—
bool HasFocusNavigation()
Returns:
- bool—
Init
void Init()
Returns:
- void
IsConnectedTo
bool IsConnectedTo(iWidget@ apWidget,
bool abIsStartWidget = true)
Parameters
- apWidget (iWidget@) —
- abIsStartWidget (bool) —
Returns:
- bool—
IsConnectedToChildren
bool IsConnectedToChildren()
Returns:
- bool—
IsEnabled
bool IsEnabled()
Returns:
- bool—
IsGlobalKeyPressListener
bool IsGlobalKeyPressListener()
Returns:
- bool—
IsGlobalUIInputListener
bool IsGlobalUIInputListener()
Returns:
- bool—
IsRightUnderMouse
bool IsRightUnderMouse()
Returns:
- bool—
IsVisible
bool IsVisible()
Returns:
- bool—
PointIsInside
bool PointIsInside(const cVector2f &in avPoint,
bool abOnlyClipped)
Parameters
- avPoint (cVector2f) —
- abOnlyClipped (bool) —
Returns:
- bool—
ProcessMessage
bool ProcessMessage(eGuiMessage aMessage,
const cGuiMessageData &in aData,
bool abSkipVisCheck = false,
bool abSkipEnabledCheck = false)
Parameters
- aMessage (eGuiMessage) —
- aData (cGuiMessageData) —
- abSkipVisCheck (bool) —
- abSkipEnabledCheck (bool) —
Returns:
- bool—
RemoveChild
SetAffectedByScroll
void SetAffectedByScroll(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCallbackOnLostFocus
void SetCallbackOnLostFocus(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCallbacksDisabled
void SetCallbacksDisabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCanEdit
void SetCanEdit(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetChildrenOffset
SetClipActive
void SetClipActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetColorMul
SetConnectedToChildren
void SetConnectedToChildren(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetDecimals
void SetDecimals(int alX)
Parameters
- alX (int) —
Returns:
- void
SetDefaultFontColor
SetDefaultFontSize
SetDefaultFontType
SetEnabled
void SetEnabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetForceCallBackOnEnter
void SetForceCallBackOnEnter(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetGlobalKeyPressListener
void SetGlobalKeyPressListener(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetGlobalPosition
SetGlobalUIInputListener
void SetGlobalUIInputListener(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIllegalChars
void SetIllegalChars(const tWString &in asIllegalChars)
Parameters
- asIllegalChars (tWString) —
Returns:
- void
SetLegalCharCodeLimitEnabled
void SetLegalCharCodeLimitEnabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetLowerBound
void SetLowerBound(bool abX,
float afValue = 0)
Parameters
- abX (bool) —
- afValue (float) —
Returns:
- void
SetMaxTextLength
void SetMaxTextLength(int alLength)
Parameters
- alLength (int) —
Returns:
- void
SetMaxTextSizeNeg
void SetMaxTextSizeNeg(float afX)
Parameters
- afX (float) —
Returns:
- void
SetName
SetNumericAdd
void SetNumericAdd(float afX)
Parameters
- afX (float) —
Returns:
- void
SetNumericValue
void SetNumericValue(float afX)
Parameters
- afX (float) —
Returns:
- void
SetPosition
SetScrollAmount
SetSelectedText
void SetSelectedText(int alStart = 0,
int alCount = -1)
Parameters
- alStart (int) —
- alCount (int) —
Returns:
- void
SetShowButtons
void SetShowButtons(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSize
SetText
SetToolTip
SetToolTipEnabled
void SetToolTipEnabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUpperBound
void SetUpperBound(bool abX,
float afValue = 0)
Parameters
- abX (bool) —
- afValue (float) —
Returns:
- void
SetUserValue
void SetUserValue(int alX)
Parameters
- alX (int) —
Returns:
- void
SetVisible
void SetVisible(bool abX)
Parameters
- abX (bool) —
Returns:
- void
Update
void Update(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void