#define GUI_OBJECT(obj)
Definition: IGUIObject.h:50
Definition: Canvas2D.h:36
Definition: CGUISprite.h:134
String class, substitute for CStr, but that parses the tags and builds up a list of all text that wil...
Definition: CGUIString.h:42
The main object that represents a whole GUI page.
Definition: CGUI.h:61
Create a list of elements, where one can be selected by the user.
Definition: CList.h:39
CGUISimpleSetting< CGUISpriteInstance > m_SpriteSelectAreaOverlay
Definition: CList.h:140
CGUISimpleSetting< CStr > m_ScrollBarStyle
Definition: CList.h:133
virtual int GetHoveredItem()
Definition: CList.cpp:469
virtual void SelectLastElement()
Definition: CList.cpp:439
CGUISimpleSetting< bool > m_ScrollBottom
Definition: CList.h:134
CGUISimpleSetting< CGUIColor > m_TextColor
Definition: CList.h:141
CGUISimpleSetting< CGUISpriteInstance > m_Sprite
Definition: CList.h:137
virtual ~CList()
Definition: CList.cpp:68
virtual void SelectPrevElement()
Definition: CList.cpp:424
virtual void CreateJSObject()
Creates the JS object representing this page upon first use.
CGUISimpleSetting< bool > m_ScrollBar
Definition: CList.h:132
CGUISimpleSetting< CStrW > m_SoundSelected
Definition: CList.h:136
virtual void DrawList(CCanvas2D &canvas, const int &selected, const CGUISpriteInstance &sprite, const CGUISpriteInstance &spriteOverlay, const CGUISpriteInstance &spriteSelectArea, const CGUISpriteInstance &spriteSelectAreaOverlay, const CGUIColor &textColor)
Definition: CList.cpp:307
static const CStr EventNameHoverChange
Definition: CList.h:151
CGUISimpleSetting< CGUISpriteInstance > m_SpriteOverlay
Definition: CList.h:138
CGUISimpleSetting< CGUIList > m_List
Definition: CList.h:146
CGUISimpleSetting< bool > m_AutoScroll
Definition: CList.h:144
std::vector< float > m_ItemsYPositions
List of each element's relative y position.
Definition: CList.h:126
static const CStr EventNameMouseLeftDoubleClickItem
Definition: CList.h:153
void UpdateAutoScroll()
Definition: CList.cpp:447
int m_PrevSelectedItem
Definition: CList.h:159
CGUISimpleSetting< CStrW > m_SoundDisabled
Definition: CList.h:135
CGUISimpleSetting< i32 > m_Hovered
Definition: CList.h:145
static const CStr EventNameMouseLeftClickItem
Definition: CList.h:152
CGUISimpleSetting< CGUISpriteInstance > m_SpriteSelectArea
Definition: CList.h:139
virtual void ResetStates()
Definition: CList.cpp:143
virtual void HandleMessage(SGUIMessage &Message)
Definition: CList.cpp:155
virtual InReaction ManuallyHandleKeys(const SDL_Event_ *ev)
Handle events manually to catch keyboard inputting.
Definition: CList.cpp:250
virtual void SelectFirstElement()
Definition: CList.cpp:433
CGUISimpleSetting< CGUIList > m_ListData
Definition: CList.h:147
virtual void SelectNextElement()
Easy select elements functions.
Definition: CList.cpp:415
static const CStr EventNameSelectionChange
Definition: CList.h:150
CGUISimpleSetting< i32 > m_Selected
Definition: CList.h:143
virtual bool GetModified() const
Definition: CList.h:118
bool m_Modified
Definition: CList.h:156
CGUISimpleSetting< float > m_BufferZone
Definition: CList.h:130
CGUISimpleSetting< CStrW > m_Font
Definition: CList.h:131
double m_LastItemClickTime
Definition: CList.h:162
virtual void Draw(CCanvas2D &canvas)
Draws the List box.
Definition: CList.cpp:302
CGUISimpleSetting< CGUIColor > m_TextColorSelected
Definition: CList.h:142
virtual void UpdateCachedSize()
Definition: CList.cpp:149
virtual CRect GetListRect() const
Definition: CList.h:114
virtual bool HandleAdditionalChildren(const XMBData &xmb, const XMBElement &child)
Handle the <item> tag.
Definition: CList.cpp:400
CList(CGUI &pGUI)
Definition: CList.cpp:34
virtual void SetupText()
Sets up text, should be called every time changes has been made that can change the visual.
Definition: CList.cpp:72
virtual void AddItem(const CGUIString &str, const CGUIString &data)
Adds an item last to the list.
Definition: CList.cpp:386
Rectangle class used for screen rectangles.
Definition: Rect.h:31
GUI object such as a button or an input-box.
Definition: IGUIObject.h:60
CRect m_CachedActualSize
Cached size, real size m_Size is actually dependent on resolution and can have different real outcome...
Definition: IGUIObject.h:380
Framework for handling Output text.
Definition: IGUITextOwner.h:53
Definition: XMBData.h:136
Same as the CColor class, but this one can also parse colors predefined in the GUI page (such as "yel...
Definition: CGUIColor.h:30
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
Definition: SGUIMessage.h:68