GuiTextEditSliderBitmapCtrl
Engine/source/gui/controls/guiTextEditSliderBitmapCtrl.h
Public Types
enum
CtrlArea { None Slider ArrowUp ArrowDown }
Private Types
Parent
Protected Attributes
Public Functions
DECLARE_CATEGORY("Gui Values" )
DECLARE_DESCRIPTION("A text <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that display <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> numeric <a href="/coding/class/classsimset/#classsimset_1a72c2708e91b396899bc077ef031eb54b">value</a> and bitmapped up/down sliders." )
onMouseDown(const GuiEvent & event)
onMouseDragged(const GuiEvent & event)
bool
onMouseWheelDown(const GuiEvent & event)
bool
onMouseWheelUp(const GuiEvent & event)
Do special pre-render processing.
bool
onWake()
Called when this object is asked to wake up returns true if it's actually awake at the end.
Public Static Functions
Detailed Description
Public Types
CtrlArea
Enumerator
- None
- Slider
- ArrowUp
- ArrowDown
Private Types
typedef GuiTextEditCtrl Parent
Protected Attributes
StringTableEntry mBitmapName
bool mFocusOnMouseWheel
StringTableEntry mFormat
F32 mIncAmount
F32 mIncCounter
U32 mMouseDownTime
F32 mMulInc
S32 mNumberOfBitmaps
Point2F mRange
CtrlArea mTextAreaHit
F32 mValue
Public Functions
GuiTextEditSliderBitmapCtrl()
~GuiTextEditSliderBitmapCtrl()
checkIncValue()
checkRange()
DECLARE_CATEGORY("Gui Values" )
DECLARE_CONOBJECT(GuiTextEditSliderBitmapCtrl )
DECLARE_DESCRIPTION("A text <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that display <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> numeric <a href="/coding/class/classsimset/#classsimset_1a72c2708e91b396899bc077ef031eb54b">value</a> and bitmapped up/down sliders." )
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
onWake()
Reimplemented from: GuiTextCtrl
setBitmap(const char * name)
setText(const char * txt)
Reimplemented from: GuiTextCtrl
setValue()
timeInc(U32 elapseTime)