#include <aedStaticText.h>
Inheritance diagram for aedStaticText:


Public Member Functions | |
| aedStaticText () | |
| virtual | ~aedStaticText () |
| virtual void | render (void) |
| virtual void | setJustification (aedJusts just) |
| Set text justification. | |
| void | setFontSize (Uint8 size) |
| Set font size. | |
| Uint8 | getFontSize (void) const |
| void | setTextColor (aedColor color) |
| Set text color. | |
| void | setTextBold (bool bold) |
| Enable/disable bold text. | |
| void | setWordWrap (bool state) |
| Enable/disable word wrapping. | |
| int | getPosAtPixel (int x, int y) |
| virtual void | setCaption (const std::string &caption) |
Protected Member Functions | |
| void | updateFont () |
Protected Attributes | |
| aedColor | m_TextColor |
| aedJusts | m_Justification |
Private Attributes | |
| Uint8 | m_FontSize |
| bool | m_TextBold |
| bool | m_WordWrap |
| aedStaticText::aedStaticText | ( | ) |
| virtual aedStaticText::~aedStaticText | ( | ) | [virtual] |
| Uint8 aedStaticText::getFontSize | ( | void | ) | const [inline] |
| int aedStaticText::getPosAtPixel | ( | int | x, | |
| int | y | |||
| ) |
| virtual void aedStaticText::render | ( | void | ) | [virtual] |
| virtual void aedStaticText::setCaption | ( | const std::string & | caption | ) | [virtual] |
Reimplemented from aedWidget.
| void aedStaticText::setFontSize | ( | Uint8 | size | ) |
Set font size.
| virtual void aedStaticText::setJustification | ( | aedJusts | just | ) | [inline, virtual] |
Set text justification.
| just | one of AED_JUST_LEFT, AED_JUST_CENTER, AED_JUST_RIGHT |
| void aedStaticText::setTextBold | ( | bool | bold | ) |
Enable/disable bold text.
| void aedStaticText::setTextColor | ( | aedColor | color | ) | [inline] |
Set text color.
| void aedStaticText::setWordWrap | ( | bool | state | ) | [inline] |
Enable/disable word wrapping.
| void aedStaticText::updateFont | ( | ) | [protected] |
Uint8 aedStaticText::m_FontSize [private] |
aedJusts aedStaticText::m_Justification [protected] |
bool aedStaticText::m_TextBold [private] |
aedColor aedStaticText::m_TextColor [protected] |
bool aedStaticText::m_WordWrap [private] |
1.4.7