18 #ifndef INCLUDED_CLIST 19 #define INCLUDED_CLIST 48 virtual void AddItem(
const CStrW& str,
const CStrW& data);
90 virtual void DrawList(
const int& selected,
const CStr& _sprite,
const CStr& _sprite_selected,
const CStr& _textcolor);
119 #endif // INCLUDED_CLIST double m_LastItemClickTime
Definition: CList.h:116
virtual InReaction ManuallyHandleEvent(const SDL_Event_ *ev)
Handle events manually to catch keyboard inputting.
Definition: CList.cpp:254
virtual void DrawList(const int &selected, const CStr &_sprite, const CStr &_sprite_selected, const CStr &_textcolor)
Definition: CList.cpp:314
int m_PrevSelectedItem
Definition: CList.h:113
virtual void AddItem(const CStrW &str, const CStrW &data)
Adds an item last to the list.
Definition: CList.cpp:403
Definition: XeroXMB.h:160
virtual void SetupText()
Sets up text, should be called every time changes has been made that can change the visual...
Definition: CList.cpp:69
virtual void HandleMessage(SGUIMessage &Message)
Definition: CList.cpp:146
virtual void Draw()
Draws the List box.
Definition: CList.cpp:306
virtual bool GetModified() const
Definition: CList.h:98
virtual void ResetStates()
Definition: CList.h:43
Framework for handling Output text.
Definition: IGUITextOwner.h:45
CList()
Definition: CList.cpp:30
std::vector< float > m_ItemsYPositions
List of each element's relative y position.
Definition: CList.h:106
CRect m_CachedActualSize
Cached size, real size m_Size is actually dependent on resolution and can have different real outcome...
Definition: IGUIObject.h:415
Definition: Xeromyces.h:42
virtual ~CList()
Definition: CList.cpp:65
virtual CRect GetListRect() const
Definition: CList.h:94
Create a list of elements, where one can be selected by the user.
Definition: CList.h:32
virtual void SelectNextElement()
Easy select elements functions.
Definition: CList.cpp:435
virtual void SelectLastElement()
Definition: CList.cpp:479
virtual void SelectFirstElement()
Definition: CList.cpp:470
virtual bool HandleAdditionalChildren(const XMBElement &child, CXeromyces *pFile)
Handle the <item> tag.
Definition: CList.cpp:422
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
Definition: GUIbase.h:91
void UpdateAutoScroll()
Definition: CList.cpp:491
bool m_Modified
Definition: CList.h:110
#define GUI_OBJECT(obj)
Definition: GUIbase.h:48
virtual void SelectPrevElement()
Definition: CList.cpp:454
Rectangle class used for screen rectangles.
Definition: Shapes.h:73