33 #ifndef INCLUDED_CLIST
34 #define INCLUDED_CLIST
82 virtual void AddItem(
const CStrW& str,
const CStrW& data);
124 void DrawList(
const int &selected,
const CStr& _sprite,
125 const CStr& _sprite_selected,
const CStr& _textcolor);
virtual InReaction ManuallyHandleEvent(const SDL_Event_ *ev)
Handle events manually to catch keyboard inputting.
void DrawList(const int &selected, const CStr &_sprite, const CStr &_sprite_selected, const CStr &_textcolor)
virtual void AddItem(const CStrW &str, const CStrW &data)
Adds an item last to the list.
void SetupText()
Sets up text, should be called every time changes has been made that can change the visual...
virtual void HandleMessage(SGUIMessage &Message)
virtual void Draw()
Draws the List box.
virtual bool GetModified() const
virtual void ResetStates()
Framework for handling Output text.
std::vector< float > m_ItemsYPositions
List of each element's relative y position.
CRect m_CachedActualSize
Cached size, real size m_Size is actually dependent on resolution and can have different real outcome...
virtual CRect GetListRect() const
Create a list of elements, where one can be selected by the user.
virtual void SelectNextElement()
Easy select elements functions.
virtual void SelectLastElement()
virtual void SelectFirstElement()
virtual bool HandleAdditionalChildren(const XMBElement &child, CXeromyces *pFile)
Handle the <item> tag.
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
virtual void SelectPrevElement()
Rectangle class used for screen rectangles.