TextWindow Class Reference
[Graphics]

Public Member Functions | |
| TextWindow () | |
| TextWindow (SpriteManager *spriteManager) | |
| ~TextWindow () | |
| virtual void | SetText (const char *pmlString) |
| virtual void | AddText (const char *pmlString) |
| virtual const char * | GetText () const |
| virtual void | SetSize (float width, float height) |
| virtual void | SetWidth (float width) |
| virtual void | SetHeight (float height) |
| virtual float | GetWidth () const |
| virtual float | GetHeight () const |
| virtual void | SetBackgroundColor (unsigned short color) |
| virtual unsigned short | GetBackgroundColor () const |
| virtual void | SetBorderColor (unsigned short color) |
| virtual unsigned short | GetBorderColor () const |
| virtual void | SetBorderSize (float size) |
| virtual float | GetBorderSize () const |
| virtual void | SetPadding (float padding) |
| virtual float | GetPadding () const |
Protected Member Functions | |
| virtual void | Render (Bitmap &bitmap) |
Detailed Description
Definition at line 23 of file TextWindow.h.
Constructor & Destructor Documentation
| TextWindow::TextWindow | ( | ) |
Definition at line 10 of file TextWindow.cpp.
| TextWindow::TextWindow | ( | SpriteManager * | spriteManager | ) |
Definition at line 27 of file TextWindow.cpp.
| TextWindow::~TextWindow | ( | ) |
Definition at line 45 of file TextWindow.cpp.
Member Function Documentation
| void TextWindow::SetText | ( | const char * | pmlString | ) | [virtual] |
Definition at line 57 of file TextWindow.cpp.
| void TextWindow::AddText | ( | const char * | pmlString | ) | [virtual] |
Definition at line 66 of file TextWindow.cpp.
| const char * TextWindow::GetText | ( | ) | const [virtual] |
Definition at line 75 of file TextWindow.cpp.
| void TextWindow::SetSize | ( | float | width, | |
| float | height | |||
| ) | [virtual] |
Definition at line 83 of file TextWindow.cpp.
| void TextWindow::SetWidth | ( | float | width | ) | [virtual] |
Definition at line 102 of file TextWindow.cpp.
| void TextWindow::SetHeight | ( | float | height | ) | [virtual] |
Definition at line 120 of file TextWindow.cpp.
| float TextWindow::GetWidth | ( | ) | const [virtual] |
Definition at line 138 of file TextWindow.cpp.
| float TextWindow::GetHeight | ( | ) | const [virtual] |
Definition at line 146 of file TextWindow.cpp.
| void TextWindow::SetBackgroundColor | ( | unsigned short | color | ) | [virtual] |
Definition at line 154 of file TextWindow.cpp.
| unsigned short TextWindow::GetBackgroundColor | ( | ) | const [virtual] |
Definition at line 164 of file TextWindow.cpp.
| void TextWindow::SetBorderColor | ( | unsigned short | color | ) | [virtual] |
Definition at line 172 of file TextWindow.cpp.
| unsigned short TextWindow::GetBorderColor | ( | ) | const [virtual] |
Definition at line 180 of file TextWindow.cpp.
| void TextWindow::SetBorderSize | ( | float | size | ) | [virtual] |
Definition at line 188 of file TextWindow.cpp.
| float TextWindow::GetBorderSize | ( | ) | const [virtual] |
Definition at line 197 of file TextWindow.cpp.
| void TextWindow::SetPadding | ( | float | padding | ) | [virtual] |
Definition at line 205 of file TextWindow.cpp.
| float TextWindow::GetPadding | ( | ) | const [virtual] |
Definition at line 214 of file TextWindow.cpp.
| void TextWindow::Render | ( | Bitmap & | bitmap | ) | [protected, virtual] |
Reproduction/republishing of any material on this site without permission is strictly prohibited.
