Changeset View
Changeset View
Standalone View
Standalone View
source/gui/ObjectTypes/CList.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | protected: | ||||
* one larger than m_Items, because it will end with the | * one larger than m_Items, because it will end with the | ||||
* bottom of the last element. First element will always | * bottom of the last element. First element will always | ||||
* be zero, but still stored for easy handling. | * be zero, but still stored for easy handling. | ||||
*/ | */ | ||||
std::vector<float> m_ItemsYPositions; | std::vector<float> m_ItemsYPositions; | ||||
virtual int GetHoveredItem(); | virtual int GetHoveredItem(); | ||||
// Settings | CGUISimpleSetting<float> m_BufferZone; | ||||
float m_BufferZone; | CGUISimpleSetting<CStrW> m_Font; | ||||
CStrW m_Font; | CGUISimpleSetting<bool> m_ScrollBar; | ||||
bool m_ScrollBar; | CGUISimpleSetting<CStr> m_ScrollBarStyle; | ||||
CStr m_ScrollBarStyle; | CGUISimpleSetting<bool> m_ScrollBottom; | ||||
bool m_ScrollBottom; | CGUISimpleSetting<CStrW> m_SoundDisabled; | ||||
CStrW m_SoundDisabled; | CGUISimpleSetting<CStrW> m_SoundSelected; | ||||
CStrW m_SoundSelected; | CGUISimpleSetting<CGUISpriteInstance> m_Sprite; | ||||
CGUISpriteInstance m_Sprite; | CGUISimpleSetting<CGUISpriteInstance> m_SpriteSelectArea; | ||||
CGUISpriteInstance m_SpriteSelectArea; | CGUISimpleSetting<CGUIColor> m_TextColor; | ||||
EAlign m_TextAlign; | CGUISimpleSetting<CGUIColor> m_TextColorSelected; | ||||
CGUIColor m_TextColor; | CGUISimpleSetting<i32> m_Selected; | ||||
CGUIColor m_TextColorSelected; | CGUISimpleSetting<bool> m_AutoScroll; | ||||
i32 m_Selected; | CGUISimpleSetting<i32> m_Hovered; | ||||
bool m_AutoScroll; | CGUISimpleSetting<CGUIList> m_List; | ||||
i32 m_Hovered; | CGUISimpleSetting<CGUIList> m_ListData; | ||||
CGUIList m_List; | |||||
CGUIList m_ListData; | |||||
private: | private: | ||||
static const CStr EventNameSelectionChange; | static const CStr EventNameSelectionChange; | ||||
static const CStr EventNameHoverChange; | static const CStr EventNameHoverChange; | ||||
static const CStr EventNameMouseLeftClickItem; | static const CStr EventNameMouseLeftClickItem; | ||||
static const CStr EventNameMouseLeftDoubleClickItem; | static const CStr EventNameMouseLeftDoubleClickItem; | ||||
// Whether the list's items have been modified since last handling a message. | // Whether the list's items have been modified since last handling a message. | ||||
Show All 10 Lines |
Wildfire Games · Phabricator