28 #ifndef INCLUDED_CDROPDOWN 29 #define INCLUDED_CDROPDOWN 145 #endif // INCLUDED_CDROPDOWN CGUISimpleSetting< CStrW > m_SoundOpened
Definition: CDropDown.h:133
CGUISimpleSetting< float > m_ButtonWidth
Definition: CDropDown.h:126
virtual void HandleMessage(SGUIMessage &Message)
Definition: CDropDown.cpp:76
CGUISimpleSetting< CStrW > m_SoundEnter
Definition: CDropDown.h:131
CGUISimpleSetting< CGUISpriteInstance > m_Sprite2Pressed
Definition: CDropDown.h:140
CGUISimpleSetting< CGUISpriteInstance > m_Sprite2Disabled
Definition: CDropDown.h:141
virtual void SetupListRect()
Definition: CDropDown.cpp:354
bool m_HideScrollBar
Definition: CDropDown.h:110
CGUISimpleSetting< float > m_DropDownSize
Definition: CDropDown.h:127
bool m_Open
Definition: CDropDown.h:103
CGUISimpleSetting< CGUISpriteInstance > m_Sprite2
Definition: CDropDown.h:138
The main object that represents a whole GUI page.
Definition: CGUI.h:60
virtual float GetBufferedZ() const
Returns not the Z value, but the actual buffered Z value, i.e.
Definition: CDropDown.cpp:483
void SetupText()
Sets up text, should be called every time changes has been made that can change the visual...
Definition: CDropDown.cpp:64
CGUISimpleSetting< u32 > m_MinimumVisibleItems
Definition: CDropDown.h:129
CGUISimpleSetting< CGUIColor > m_TextColorDisabled
Definition: CDropDown.h:142
CGUISimpleSetting< float > m_DropDownBuffer
Definition: CDropDown.h:128
std::string m_InputBuffer
Definition: CDropDown.h:120
Definition: Canvas2D.h:35
CGUISimpleSetting< CGUISpriteInstance > m_SpriteOverlayDisabled
Definition: CDropDown.h:135
CGUISimpleSetting< CStrW > m_SoundLeave
Definition: CDropDown.h:132
virtual ~CDropDown()
Definition: CDropDown.cpp:60
CGUISimpleSetting< CGUISpriteInstance > m_SpriteListOverlay
Definition: CDropDown.h:137
Definition: Vector2D.h:31
int m_ElementHighlight
Definition: CDropDown.h:116
virtual void Draw(CCanvas2D &canvas)
Draws the Button.
Definition: CDropDown.cpp:426
virtual InReaction ManuallyHandleKeys(const SDL_Event_ *ev)
Handle events manually to catch keyboard inputting.
Definition: CDropDown.cpp:262
CGUISimpleSetting< CGUISpriteInstance > m_Sprite2Over
Definition: CDropDown.h:139
virtual bool IsMouseOver() const
This function checks if the mouse is hovering the rectangle that the base setting "size" makes...
Definition: CDropDown.cpp:414
Create a list of elements, where one can be selected by the user.
Definition: CList.h:38
Drop Down.
Definition: CDropDown.h:47
#define GUI_OBJECT(obj)
Definition: IGUIObject.h:50
CRect m_CachedListRect
Definition: CDropDown.h:107
CGUISimpleSetting< CStrW > m_SoundClosed
Definition: CDropDown.h:130
CVector2D m_TextPos
Placement of text.
Definition: CDropDown.h:100
virtual void UpdateCachedSize()
If the size changed, the texts have to be updated as the word wrapping depends on the size...
Definition: CDropDown.cpp:70
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
Definition: SGUIMessage.h:67
virtual CRect GetListRect() const
Definition: CDropDown.cpp:409
CGUISimpleSetting< CGUISpriteInstance > m_SpriteList
Definition: CDropDown.h:136
double m_TimeOfLastInput
Definition: CDropDown.h:123
CGUISimpleSetting< CGUISpriteInstance > m_SpriteDisabled
Definition: CDropDown.h:134
CDropDown(CGUI &pGUI)
Definition: CDropDown.cpp:30
Rectangle class used for screen rectangles.
Definition: Rect.h:30