#include <GLWTextButton.h>

Public Member Functions | |
| GLWTextButton (const LangString &buttonText=LangString(), float x=0.0f, float y=0.0f, float w=0.0f, GLWButtonI *handler=0, unsigned flags=0, float size=14.0f) | |
| virtual | ~GLWTextButton () |
| virtual void | draw () |
| void | setText (const LangString &text) |
| void | setColor (const Vector &color) |
| bool | getEmpty () |
| REGISTER_CLASS_HEADER (GLWTextButton) | |
Protected Attributes | |
| GLWLabel | label_ |
| Vector | color_ |
Definition at line 27 of file GLWTextButton.h.
| GLWTextButton::GLWTextButton | ( | const LangString & | buttonText = LangString(), |
|
| float | x = 0.0f, |
|||
| float | y = 0.0f, |
|||
| float | w = 0.0f, |
|||
| GLWButtonI * | handler = 0, |
|||
| unsigned | flags = 0, |
|||
| float | size = 14.0f | |||
| ) |
Definition at line 26 of file GLWTextButton.cpp.
| GLWTextButton::~GLWTextButton | ( | ) | [virtual] |
Definition at line 35 of file GLWTextButton.cpp.
| void GLWTextButton::draw | ( | ) | [virtual] |
Reimplemented from GLWButton.
Definition at line 39 of file GLWTextButton.cpp.
References GLWButton::ButtonFlagCenterX, GLWLabel::calcWidth(), color_, GLWFont::disabledWidgetFontColor, GLWLabel::draw(), GLWButton::draw(), GLWButton::enabled_, GLWButton::flags_, GLWLabel::getW(), label_, GLWButton::pressed_, GLWLabel::setColor(), GLWidget::setX(), GLWidget::setY(), GLWidget::w_, GLWidget::x_, and GLWidget::y_.
Referenced by GLWIconTable::draw().
| void GLWTextButton::setText | ( | const LangString & | text | ) | [inline] |
Definition at line 39 of file GLWTextButton.h.
References label_, and GLWLabel::setText().
Referenced by NetworkSelectDialog::select(), and NetworkSelectDialog::updateTable().
| void GLWTextButton::setColor | ( | const Vector & | color | ) | [inline] |
Definition at line 41 of file GLWTextButton.h.
References color_.
Referenced by BuyAccessoryDialog::addAccessory().
| bool GLWTextButton::getEmpty | ( | ) | [inline] |
Definition at line 42 of file GLWTextButton.h.
References GLWLabel::getEmpty(), and label_.
Referenced by GLWIconTable::draw().
| GLWTextButton::REGISTER_CLASS_HEADER | ( | GLWTextButton | ) |
GLWLabel GLWTextButton::label_ [protected] |
Vector GLWTextButton::color_ [protected] |
1.5.3