HPL3/Amnesia: Rebirth/Scripting/cWidgetSlider
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 GetBarClickValueAdd
- 3.6 GetBarValueSize
- 3.7 GetButtonSize
- 3.8 GetButtonValueAdd
- 3.9 GetCallbacksDisabled
- 3.10 GetChildrenOffset
- 3.11 GetClipActive
- 3.12 GetColorMul
- 3.13 GetDefaultFontColor
- 3.14 GetDefaultFontSize
- 3.15 GetDefaultFontType
- 3.16 GetFocusNavigation
- 3.17 GetGlobalPosition
- 3.18 GetLocalPosition
- 3.19 GetMaxValue
- 3.20 GetMouseIsOver
- 3.21 GetName
- 3.22 GetParent
- 3.23 GetPointerGfx
- 3.24 GetScrollAmount
- 3.25 GetSet
- 3.26 GetSize
- 3.27 GetText
- 3.28 GetToolTip
- 3.29 GetToolTipWidget
- 3.30 GetType
- 3.31 GetUserValue
- 3.32 GetValue
- 3.33 HasFocus
- 3.34 HasFocusNavigation
- 3.35 Init
- 3.36 IsConnectedTo
- 3.37 IsConnectedToChildren
- 3.38 IsEnabled
- 3.39 IsGlobalKeyPressListener
- 3.40 IsGlobalUIInputListener
- 3.41 IsRightUnderMouse
- 3.42 IsVisible
- 3.43 PointIsInside
- 3.44 ProcessMessage
- 3.45 RemoveChild
- 3.46 SetAffectedByScroll
- 3.47 SetBarClickValueAdd
- 3.48 SetBarValueSize
- 3.49 SetButtonValueAdd
- 3.50 SetCallbacksDisabled
- 3.51 SetChildrenOffset
- 3.52 SetClipActive
- 3.53 SetColorMul
- 3.54 SetConnectedToChildren
- 3.55 SetDefaultFontColor
- 3.56 SetDefaultFontSize
- 3.57 SetDefaultFontType
- 3.58 SetEnabled
- 3.59 SetFocusNavigation
- 3.60 SetGlobalKeyPressListener
- 3.61 SetGlobalPosition
- 3.62 SetGlobalUIInputListener
- 3.63 SetMaxValue
- 3.64 SetName
- 3.65 SetPosition
- 3.66 SetScrollAmount
- 3.67 SetSize
- 3.68 SetText
- 3.69 SetToolTip
- 3.70 SetToolTipEnabled
- 3.71 SetUserValue
- 3.72 SetValue
- 3.73 SetVisible
- 3.74 Update
- 4 References
Fields
cWidgetSlider 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—
GetBarClickValueAdd
int GetBarClickValueAdd()
Returns:
- int—
GetBarValueSize
int GetBarValueSize()
Returns:
- int—
GetButtonSize
float GetButtonSize()
Returns:
- float—
GetButtonValueAdd
int GetButtonValueAdd()
Returns:
- int—
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@—
GetGlobalPosition
const cVector3f& GetGlobalPosition()
Returns:
- const cVector3f&—
GetLocalPosition
const cVector3f& GetLocalPosition()
Returns:
- const cVector3f&—
GetMaxValue
int GetMaxValue()
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&—
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—
GetUserValue
int GetUserValue()
Returns:
- int—
GetValue
int GetValue()
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
SetBarClickValueAdd
void SetBarClickValueAdd(int alAdd)
Parameters
- alAdd (int) —
Returns:
- void
SetBarValueSize
void SetBarValueSize(int alSize)
Parameters
- alSize (int) —
Returns:
- void
SetButtonValueAdd
void SetButtonValueAdd(int alAdd)
Parameters
- alAdd (int) —
Returns:
- void
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
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
SetMaxValue
void SetMaxValue(int alMax)
Parameters
- alMax (int) —
Returns:
- void
SetName
SetPosition
SetScrollAmount
SetSize
SetText
SetToolTip
SetToolTipEnabled
void SetToolTipEnabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUserValue
void SetUserValue(int alX)
Parameters
- alX (int) —
Returns:
- void
SetValue
void SetValue(int alValue,
bool abGenCallback = true)
Parameters
- alValue (int) —
- abGenCallback (bool) —
Returns:
- void
SetVisible
void SetVisible(bool abX)
Parameters
- abX (bool) —
Returns:
- void
Update
void Update(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void