Changeset View
Changeset View
Standalone View
Standalone View
source/gui/CButton.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
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. | ||||
*/ | */ | ||||
void SetupText(); | void SetupText(); | ||||
/** | /** | ||||
* Picks the text color depending on current object settings. | |||||
*/ | |||||
const CGUIColor& ChooseColor(); | |||||
/** | |||||
* Placement of text. | * Placement of text. | ||||
*/ | */ | ||||
CPos m_TextPos; | CPos m_TextPos; | ||||
}; | }; | ||||
#endif // INCLUDED_CBUTTON | #endif // INCLUDED_CBUTTON |
Wildfire Games · Phabricator