GuiTextEditSliderCtrl
Engine/source/gui/controls/guiTextEditSliderCtrl.h
Public Types
enum
CtrlArea { None Slider ArrowUp ArrowDown }
Private Types
Parent
Protected Attributes
Public Functions
DECLARE_CATEGORY("Gui Values" )
DECLARE_DESCRIPTION("A text that shows <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> numeric <a href="/coding/class/classsimset/#classsimset_1a72c2708e91b396899bc077ef031eb54b">value</a> and up/down arrows <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">to\n</a>" "increase/decrease the value." )
onMouseDown(const GuiEvent & event)
onMouseDragged(const GuiEvent & event)
bool
onMouseWheelDown(const GuiEvent & event)
bool
onMouseWheelUp(const GuiEvent & event)
Do special pre-render processing.
Public Static Functions
Detailed Description
Public Types
CtrlArea
Enumerator
- None
- Slider
- ArrowUp
- ArrowDown
Private Types
typedef GuiTextEditCtrl Parent
Protected Attributes
bool mFocusOnMouseWheel
StringTableEntry mFormat
F32 mIncAmount
F32 mIncCounter
U32 mMouseDownTime
F32 mMulInc
Point2F mRange
CtrlArea mTextAreaHit
F32 mValue
Public Functions
GuiTextEditSliderCtrl()
~GuiTextEditSliderCtrl()
checkIncValue()
checkRange()
DECLARE_CATEGORY("Gui Values" )
DECLARE_CONOBJECT(GuiTextEditSliderCtrl )
DECLARE_DESCRIPTION("A text that shows <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> numeric <a href="/coding/class/classsimset/#classsimset_1a72c2708e91b396899bc077ef031eb54b">value</a> and up/down arrows <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">to\n</a>" "increase/decrease the value." )
getText(char * dest)
onKeyDown(const GuiEvent & event)
Reimplemented from: GuiTextEditCtrl
onMouseDown(const GuiEvent & event)
Reimplemented from: GuiTextEditCtrl
onMouseDragged(const GuiEvent & event)
Reimplemented from: GuiTextEditCtrl
onMouseUp(const GuiEvent & event)
Reimplemented from: GuiTextEditCtrl
onMouseWheelDown(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseWheelUp(const GuiEvent & event)
Reimplemented from: GuiControl
onPreRender()
Reimplemented from: GuiTextEditCtrl
onRender(Point2I offset, const RectI & updateRect)
Reimplemented from: GuiTextEditCtrl
setText(const char * txt)
Reimplemented from: GuiTextCtrl
setValue()
timeInc(U32 elapseTime)