GuiTextListCtrl
Engine/source/gui/controls/guiTextListCtrl.h
Classes:
Protected Types
enum
_Anonymous_ { InvalidId = 0xFFFFFFFF }
enum
ScrollConst { UP = 0 DOWN = 1 }
Private Types
Parent
Protected Attributes
Protected Functions
Public Functions
addColumnOffset(S32 offset)
DECLARE_CALLBACK(void , onDeleteKey , (S32 id) )
DECLARE_CALLBACK(void , onSelect , (S32 cellid, const char *text) )
DECLARE_CATEGORY("Gui Lists" )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that displays text in tabular form." )
findEntryById(U32 id)
findEntryByText(const char * text)
getCellSize(Point2I & size)
getEntryId(U32 index)
const char *
Returns the value of the variable bound to this object.
const char *
insertEntry(U32 id, const char * text, S32 index)
bool
isEntryActive(U32 id)
bool
onGamepadAxisDown(const GuiEvent & event)
bool
onGamepadAxisUp(const GuiEvent & event)
onRenderCell(Point2I offset, Point2I cell, bool selected, bool mouseOver)
bool
onWake()
Called when this object is asked to wake up returns true if it's actually awake at the end.
removeEntry(U32 id)
setCellSize(const Point2I & size)
setEntryActive(U32 id, bool active)
setScriptValue(const char * value)
Sets the value of the variable bound to this object.
sortNumerical(U32 column, bool increasing)
Public Static Functions
Detailed Description
Protected Types
@99
Enumerator
- InvalidId = 0xFFFFFFFF
ScrollConst
Enumerator
- UP = 0
- DOWN = 1
Private Types
typedef GuiArrayCtrl Parent
Public Attributes
Vector< Entry > mList
Protected Attributes
bool mClipColumnText
Vector< S32 > mColumnOffsets
bool mFitParentWidth
S32 mRowHeightPadding
Protected Functions
cellSelected(Point2I cell)
Reimplemented from: GuiArrayCtrl
getRowWidth(Entry * row)
onCellSelected(Point2I cell)
Reimplemented from: GuiArrayCtrl
Public Functions
GuiTextListCtrl()
addColumnOffset(S32 offset)
addEntry(U32 id, const char * text)
clear()
Reimplemented from: SimGroup
clearColumnOffsets()
DECLARE_CALLBACK(void , onDeleteKey , (S32 id) )
DECLARE_CALLBACK(void , onSelect , (S32 cellid, const char *text) )
DECLARE_CATEGORY("Gui Lists" )
DECLARE_CONOBJECT(GuiTextListCtrl )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that displays text in tabular form." )
findEntryById(U32 id)
findEntryByText(const char * text)
getCellSize(Point2I & size)
getEntryId(U32 index)
getNumEntries()
getScriptValue()
Reimplemented from: GuiControl
getSelectedId()
getSelectedRow()
getSelectedText()
insertEntry(U32 id, const char * text, S32 index)
isEntryActive(U32 id)
onGamepadAxisDown(const GuiEvent & event)
Reimplemented from: GuiControl
onGamepadAxisUp(const GuiEvent & event)
Reimplemented from: GuiControl
onKeyDown(const GuiEvent & event)
Reimplemented from: GuiControl
Reimplemented by: GuiPopupMenuTextListCtrl
onRemove()
Reimplemented from: GuiControl
onRenderCell(Point2I offset, Point2I cell, bool selected, bool mouseOver)
Reimplemented from: GuiArrayCtrl
Reimplemented by: GuiPopupTextListCtrl, GuiPopupTextListCtrlEx, GuiPopupMenuTextListCtrl
onWake()
Reimplemented from: GuiControl
removeEntry(U32 id)
removeEntryByIndex(S32 id)
setCellSize(const Point2I & size)
setEntry(U32 id, const char * text)
setEntryActive(U32 id, bool active)
setScriptValue(const char * value)
Reimplemented from: GuiControl
setSize(Point2I newSize)
Reimplemented from: GuiArrayCtrl
sort(U32 column, bool increasing)
sortNumerical(U32 column, bool increasing)