TextManager Class Reference
#include <textmanager.h>
List of all members.
Detailed Description
Definition at line 31 of file textmanager.h.
|
Public Member Functions |
| | TextManager () |
| | Constructor.
|
| void | addText (Text *text) |
| | Add text to the manager.
|
| void | moveText (Text *text, int x, int y) |
| | Move the text around the screen.
|
| void | removeText (const Text *text) |
| | Remove the text from the manager.
|
| | ~TextManager () |
| | Destroy the manager.
|
| void | draw (gcn::Graphics *graphics, int xOff, int yOff) |
| | Draw the text.
|
Private Types |
| typedef std::list< Text * > | TextList |
| | The container type.
|
Private Member Functions |
| void | place (const Text *textObj, const Text *omit, int &x, int &y, int h) |
| | Position the text so as to avoid conflict.
|
Private Attributes |
| TextList | mTextList |
| | The container.
|
Member Typedef Documentation
Constructor & Destructor Documentation
| TextManager::TextManager |
( |
|
) |
|
| TextManager::~TextManager |
( |
|
) |
|
Member Function Documentation
| void TextManager::addText |
( |
Text * |
text |
) |
|
| void TextManager::moveText |
( |
Text * |
text, |
|
|
int |
x, |
|
|
int |
y | |
|
) |
| | |
| void TextManager::removeText |
( |
const Text * |
text |
) |
|
| void TextManager::draw |
( |
gcn::Graphics * |
graphics, |
|
|
int |
xOff, |
|
|
int |
yOff | |
|
) |
| | |
| void TextManager::place |
( |
const Text * |
textObj, |
|
|
const Text * |
omit, |
|
|
int & |
x, |
|
|
int & |
y, |
|
|
int |
h | |
|
) |
| | [private] |
Member Data Documentation
The documentation for this class was generated from the following files: