Changeset View
Changeset View
Standalone View
Standalone View
source/gui/ObjectTypes/CDropDown.h
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | protected: | ||||
// Stores any text entered by the user for quick access to an element | // Stores any text entered by the user for quick access to an element | ||||
// (ie if you type "acro" it will take you to acropolis). | // (ie if you type "acro" it will take you to acropolis). | ||||
std::string m_InputBuffer; | std::string m_InputBuffer; | ||||
// used to know if we want to restart anew or add to m_inputbuffer. | // used to know if we want to restart anew or add to m_inputbuffer. | ||||
double m_TimeOfLastInput; | double m_TimeOfLastInput; | ||||
// Settings | // Settings | ||||
float m_ButtonWidth; | CGUISimpleSetting<float> m_ButtonWidth; | ||||
float m_DropDownSize; | CGUISimpleSetting<float> m_DropDownSize; | ||||
float m_DropDownBuffer; | CGUISimpleSetting<float> m_DropDownBuffer; | ||||
u32 m_MinimumVisibleItems; | CGUISimpleSetting<u32> m_MinimumVisibleItems; | ||||
CStrW m_SoundClosed; | CGUISimpleSetting<CStrW> m_SoundClosed; | ||||
CStrW m_SoundEnter; | CGUISimpleSetting<CStrW> m_SoundEnter; | ||||
CStrW m_SoundLeave; | CGUISimpleSetting<CStrW> m_SoundLeave; | ||||
CStrW m_SoundOpened; | CGUISimpleSetting<CStrW> m_SoundOpened; | ||||
CGUISpriteInstance m_SpriteDisabled; | CGUISimpleSetting<CGUISpriteInstance> m_SpriteDisabled; | ||||
CGUISpriteInstance m_SpriteList; | CGUISimpleSetting<CGUISpriteInstance> m_SpriteList; | ||||
CGUISpriteInstance m_Sprite2; | CGUISimpleSetting<CGUISpriteInstance> m_Sprite2; | ||||
CGUISpriteInstance m_Sprite2Over; | CGUISimpleSetting<CGUISpriteInstance> m_Sprite2Over; | ||||
CGUISpriteInstance m_Sprite2Pressed; | CGUISimpleSetting<CGUISpriteInstance> m_Sprite2Pressed; | ||||
CGUISpriteInstance m_Sprite2Disabled; | CGUISimpleSetting<CGUISpriteInstance> m_Sprite2Disabled; | ||||
CGUIColor m_TextColorDisabled; | CGUISimpleSetting<CGUIColor> m_TextColorDisabled; | ||||
EVAlign m_TextVAlign; | |||||
}; | }; | ||||
#endif // INCLUDED_CDROPDOWN | #endif // INCLUDED_CDROPDOWN |
Wildfire Games · Phabricator