GuiPopUpMenuCtrl
Engine/source/gui/controls/guiPopUpCtrl.h
Classes:
Private Types
Parent
Public Attributes
Protected Attributes
bool
bool
bool
bool
bool
Protected Functions
Public Functions
clearEntry(S32 entry)
DECLARE_CATEGORY("Gui Lists" )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that allows <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> select <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/class/classsimset/#classsimset_1a72c2708e91b396899bc077ef031eb54b">value</a> from <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> drop-down list." )
bool
getColoredBox(ColorI & boxColor, S32 id)
bool
getFontColor(ColorI & fontColor, S32 id, bool selected, bool mouseOver)
const char *
Returns the value of the variable bound to this object.
const char *
getTextById(S32 id)
bool
onAdd()
Called when this object is added to the scene.
onMouseDown(const GuiEvent & event)
onMouseEnter(const GuiEvent & event)
bool
onWake()
Called when this object is asked to wake up returns true if it's actually awake at the end.
bool
setEntryText(S32 id, const char * buf)
setFirstSelected(bool bNotifyScript)
setSelected(S32 id, bool bNotifyScript)
setupAutoScroll(const GuiEvent & event)
Public Static Functions
Detailed Description
Private Types
typedef GuiTextCtrl Parent
Public Attributes
bool mBackgroundCancel
GuiScrollCtrl::Region mScrollDir
Protected Attributes
GuiPopUpBackgroundCtrl * mBackground
Point2I mBitmapBounds
StringTableEntry mBitmapName
Vector< Entry > mEntries
GuiEvent mEventSave
S32 mIdMax
bool mInAction
F32 mIncValue
S32 mLastYvalue
S32 mMaxPopupHeight
bool mMouseOver
bool mRenderScrollInNA
bool mReplaceText
bool mReverseTextList
S32 mRevNum
GuiScrollCtrl * mSc
Vector< Scheme > mSchemes
F32 mScrollCount
S32 mSelIndex
GFXTexHandle mTextureDepressed
GFXTexHandle mTextureNormal
GuiPopupTextListCtrl * mTl
Protected Functions
addChildren()
repositionPopup()
Public Functions
GuiPopUpMenuCtrl(void )
~GuiPopUpMenuCtrl()
addEntry(const char * buf, S32 id, U32 scheme)
addScheme(U32 id, ColorI fontColor, ColorI fontColorHL, ColorI fontColorSEL)
autoScroll()
clear()
Reimplemented from: SimGroup
clearEntry(S32 entry)
closePopUp()
DECLARE_CATEGORY("Gui Lists" )
DECLARE_CONOBJECT(GuiPopUpMenuCtrl )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that allows <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> select <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/class/classsimset/#classsimset_1a72c2708e91b396899bc077ef031eb54b">value</a> from <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> drop-down list." )
findText(const char * text)
getColoredBox(ColorI & boxColor, S32 id)
getFontColor(ColorI & fontColor, S32 id, bool selected, bool mouseOver)
getNumEntries()
getScriptValue()
Reimplemented from: GuiControl
getSelected()
getTextById(S32 id)
onAction()
Reimplemented from: GuiControl
onAdd()
Reimplemented from: GuiControl
onKeyDown(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseDown(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseEnter(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseLeave(const GuiEvent & )
Reimplemented from: GuiControl
onMouseUp(const GuiEvent & event)
Reimplemented from: GuiControl
onRender(Point2I offset, const RectI & updateRect)
Reimplemented from: GuiControl
onSleep()
Reimplemented from: GuiControl
onWake()
Reimplemented from: GuiTextCtrl
replaceText(S32 )
reverseTextList()
setBitmap(const char * name)
setEntryText(S32 id, const char * buf)
setFirstSelected(bool bNotifyScript)
setNoneSelected()
setSelected(S32 id, bool bNotifyScript)
setupAutoScroll(const GuiEvent & event)
sort()
sortID()