Changeset View
Changeset View
Standalone View
Standalone View
source/gui/CCheckBox.h
Show All 32 Lines | |||||
public: | public: | ||||
CCheckBox(CGUI* pGUI); | CCheckBox(CGUI* pGUI); | ||||
virtual ~CCheckBox(); | virtual ~CCheckBox(); | ||||
/** | /** | ||||
* @see IGUIObject#ResetStates() | * @see IGUIObject#ResetStates() | ||||
*/ | */ | ||||
virtual void ResetStates() { IGUIButtonBehavior::ResetStates(); } | virtual void ResetStates() override { IGUIButtonBehavior::ResetStates(); } | ||||
/** | /** | ||||
* @see IGUIObject#HandleMessage() | * @see IGUIObject#HandleMessage() | ||||
*/ | */ | ||||
virtual void HandleMessage(SGUIMessage& Message); | virtual void HandleMessage(SGUIMessage& Message) override; | ||||
/** | /** | ||||
* Draws the control | * Draws the control | ||||
*/ | */ | ||||
virtual void Draw(); | virtual void Draw() override; | ||||
virtual void AddSettings() override; | |||||
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(); | virtual void SetupText() override; | ||||
}; | }; | ||||
#endif // INCLUDED_CCHECKBOX | #endif // INCLUDED_CCHECKBOX |
Wildfire Games · Phabricator