HPL3/Amnesia: Rebirth/Scripting/cWidgetLabel
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 GetAutogenerateSize
- 3.6 GetBackGroundColor
- 3.7 GetCallbacksDisabled
- 3.8 GetChildrenOffset
- 3.9 GetClipActive
- 3.10 GetColorMul
- 3.11 GetDefaultFontColor
- 3.12 GetDefaultFontSize
- 3.13 GetDefaultFontType
- 3.14 GetDrawBackGround
- 3.15 GetFocusNavigation
- 3.16 GetGlobalPosition
- 3.17 GetLocalPosition
- 3.18 GetMaxTextLength
- 3.19 GetMouseIsOver
- 3.20 GetName
- 3.21 GetParent
- 3.22 GetPointerGfx
- 3.23 GetScrollAmount
- 3.24 GetScrollSpeedMul
- 3.25 GetScrollWaitTime
- 3.26 GetSet
- 3.27 GetSize
- 3.28 GetText
- 3.29 GetTextAlign
- 3.30 GetToolTip
- 3.31 GetToolTipWidget
- 3.32 GetType
- 3.33 GetUserValue
- 3.34 GetWordWrap
- 3.35 HasFocus
- 3.36 HasFocusNavigation
- 3.37 Init
- 3.38 IsConnectedTo
- 3.39 IsConnectedToChildren
- 3.40 IsEnabled
- 3.41 IsGlobalKeyPressListener
- 3.42 IsGlobalUIInputListener
- 3.43 IsRightUnderMouse
- 3.44 IsVisible
- 3.45 PointIsInside
- 3.46 ProcessMessage
- 3.47 RemoveChild
- 3.48 SetAffectedByScroll
- 3.49 SetAutogenerateSize
- 3.50 SetBackGroundColor
- 3.51 SetCallbacksDisabled
- 3.52 SetChildrenOffset
- 3.53 SetClipActive
- 3.54 SetColorMul
- 3.55 SetConnectedToChildren
- 3.56 SetDefaultFontColor
- 3.57 SetDefaultFontSize
- 3.58 SetDefaultFontType
- 3.59 SetDrawBackGround
- 3.60 SetEnabled
- 3.61 SetFocusNavigation
- 3.62 SetGlobalKeyPressListener
- 3.63 SetGlobalPosition
- 3.64 SetGlobalUIInputListener
- 3.65 SetMaxTextLength
- 3.66 SetName
- 3.67 SetPosition
- 3.68 SetScrollAmount
- 3.69 SetScrollOffset
- 3.70 SetScrollSpeedMul
- 3.71 SetScrollWaitTime
- 3.72 SetSize
- 3.73 SetText
- 3.74 SetTextAlign
- 3.75 SetToolTip
- 3.76 SetToolTipEnabled
- 3.77 SetUserValue
- 3.78 SetVisible
- 3.79 SetWordWrap
- 3.80 Update
- 4 References
Fields
cWidgetLabel 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—
GetAutogenerateSize
bool GetAutogenerateSize()
Returns:
- bool—
GetBackGroundColor
const cColor& GetBackGroundColor()
Returns:
- const cColor&—
GetCallbacksDisabled
bool GetCallbacksDisabled()
Returns:
- bool—
GetChildrenOffset
const cVector3f& GetChildrenOffset()
Returns:
- const cVector3f&—
GetClipActive
bool GetClipActive()
Returns:
- bool—
GetColorMul
const cColor& GetColorMul()
Returns:
- const cColor&—
GetDefaultFontColor
const cColor& GetDefaultFontColor()
Returns:
- const cColor&—
GetDefaultFontSize
const cVector2f& GetDefaultFontSize()
Returns:
- const cVector2f&—
GetDefaultFontType
iFontData@ GetDefaultFontType()
Returns:
- iFontData@—
GetDrawBackGround
bool GetDrawBackGround()
Returns:
- bool—
GetGlobalPosition
const cVector3f& GetGlobalPosition()
Returns:
- const cVector3f&—
GetLocalPosition
const cVector3f& GetLocalPosition()
Returns:
- const cVector3f&—
GetMaxTextLength
int GetMaxTextLength()
Returns:
- int—
GetMouseIsOver
bool GetMouseIsOver()
Returns:
- bool—
GetName
const tString& GetName()
Returns:
- const tString&—
GetParent
iWidget@ GetParent()
Returns:
- iWidget@—
GetPointerGfx
cGuiGfxElement@ GetPointerGfx()
Returns:
- cGuiGfxElement@—
GetScrollAmount
const cVector3f& GetScrollAmount()
Returns:
- const cVector3f&—
GetScrollSpeedMul
float GetScrollSpeedMul()
Returns:
- float—
GetScrollWaitTime
float GetScrollWaitTime()
Returns:
- float—
GetSet
cGuiSet@ GetSet()
Returns:
- cGuiSet@—
GetSize
const cVector2f& GetSize()
Returns:
- const cVector2f&—
GetText
const tWString& GetText()
Returns:
- const tWString&—
GetTextAlign
eFontAlign GetTextAlign()
Returns:
- eFontAlign—
GetToolTip
const tWString& GetToolTip()
Returns:
- const tWString&—
GetToolTipWidget
iWidget@ GetToolTipWidget()
Returns:
- iWidget@—
GetType
eWidgetType GetType()
Returns:
- eWidgetType—
GetUserValue
int GetUserValue()
Returns:
- int—
GetWordWrap
bool GetWordWrap()
Returns:
- bool—
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
SetAutogenerateSize
void SetAutogenerateSize(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetBackGroundColor
SetCallbacksDisabled
void SetCallbacksDisabled(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
SetDefaultFontColor
SetDefaultFontSize
SetDefaultFontType
SetDrawBackGround
void SetDrawBackGround(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetEnabled
void SetEnabled(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
SetMaxTextLength
void SetMaxTextLength(int alLength)
Parameters
- alLength (int) —
Returns:
- void
SetName
SetPosition
SetScrollAmount
SetScrollOffset
void SetScrollOffset(float afX)
Parameters
- afX (float) —
Returns:
- void
SetScrollSpeedMul
void SetScrollSpeedMul(float afX)
Parameters
- afX (float) —
Returns:
- void
SetScrollWaitTime
void SetScrollWaitTime(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSize
SetText
SetTextAlign
SetToolTip
SetToolTipEnabled
void SetToolTipEnabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUserValue
void SetUserValue(int alX)
Parameters
- alX (int) —
Returns:
- void
SetVisible
void SetVisible(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetWordWrap
void SetWordWrap(bool abX)
Parameters
- abX (bool) —
Returns:
- void
Update
void Update(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void