Changeset View
Changeset View
Standalone View
Standalone View
source/gui/CText.h
/* Copyright (C) 2015 Wildfire Games. | /* Copyright (C) 2017 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | protected: | ||||
* @see IGUIObject#HandleMessage() | * @see IGUIObject#HandleMessage() | ||||
*/ | */ | ||||
virtual void HandleMessage(SGUIMessage& Message); | virtual void HandleMessage(SGUIMessage& Message); | ||||
/** | /** | ||||
* Draws the Text | * Draws the Text | ||||
*/ | */ | ||||
virtual void Draw(); | virtual void Draw(); | ||||
/** | |||||
* Placement of text. Ignored when scrollbars are active. | |||||
*/ | |||||
CPos m_TextPos; | |||||
}; | }; | ||||
#endif // INCLUDED_CTEXT | #endif // INCLUDED_CTEXT |
Wildfire Games · Phabricator