Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/ObjectTypes/CList.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | public: | ||||
*/ | */ | ||||
virtual void UpdateCachedSize(); | virtual void UpdateCachedSize(); | ||||
/** | /** | ||||
* Adds an item last to the list. | * Adds an item last to the list. | ||||
*/ | */ | ||||
virtual void AddItem(const CGUIString& str, const CGUIString& data); | virtual void AddItem(const CGUIString& str, const CGUIString& data); | ||||
/** | |||||
* Add an item where both parameters are identical. | |||||
*/ | |||||
void AddItem(const CGUIString& strAndData); | |||||
protected: | protected: | ||||
/** | /** | ||||
* Sets up text, should be called every time changes has been | * Sets up text, should be called every time changes has been | ||||
* made that can change the visual. | * made that can change the visual. | ||||
* @param append - if true, we assume we only need to render the new element at the end of the list. | * @param append - if true, we assume we only need to render the new element at the end of the list. | ||||
*/ | */ | ||||
virtual void SetupText(); | virtual void SetupText(); | ||||
virtual void SetupText(bool append); | virtual void SetupText(bool append); | ||||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator