#include <GLWIconButton.h>
Public Member Functions | |
| GLWIconButton (float x=0.0f, float y=0.0f, float w=0.0f, float h=0.0f, GLWButtonI *handler=0, unsigned flags=0) | |
| virtual | ~GLWIconButton () |
| virtual void | draw () |
| virtual void | setX (float x) |
| virtual void | setY (float y) |
| virtual void | setW (float w) |
| virtual void | setH (float h) |
| GLTexture * | getTexture () |
| void | setTexture (GLTexture *texture) |
| REGISTER_CLASS_HEADER (GLWIconButton) | |
Protected Attributes | |
| GLWIcon | icon_ |
Definition at line 27 of file GLWIconButton.h.
| GLWIconButton::GLWIconButton | ( | float | x = 0.0f, |
|
| float | y = 0.0f, |
|||
| float | w = 0.0f, |
|||
| float | h = 0.0f, |
|||
| GLWButtonI * | handler = 0, |
|||
| unsigned | flags = 0 | |||
| ) |
Definition at line 25 of file GLWIconButton.cpp.
| GLWIconButton::~GLWIconButton | ( | ) | [virtual] |
Definition at line 35 of file GLWIconButton.cpp.
| void GLWIconButton::draw | ( | ) | [virtual] |
Reimplemented from GLWButton.
Definition at line 63 of file GLWIconButton.cpp.
References GLWIcon::draw(), GLWidget::draw(), icon_, GLWButton::pressed_, GLWidget::setX(), GLWidget::setY(), GLWidget::x_, and GLWidget::y_.
Referenced by GLWChannelView::draw(), and GLWChannelText::draw().
| void GLWIconButton::setX | ( | float | x | ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 39 of file GLWIconButton.cpp.
References icon_, and GLWidget::setX().
Referenced by GLWChannelView::setX(), and GLWChannelText::setX().
| void GLWIconButton::setY | ( | float | y | ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 45 of file GLWIconButton.cpp.
References icon_, and GLWidget::setY().
Referenced by GLWChannelView::setY(), and GLWChannelText::setY().
| void GLWIconButton::setW | ( | float | w | ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 51 of file GLWIconButton.cpp.
References icon_, and GLWidget::setW().
| void GLWIconButton::setH | ( | float | h | ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 57 of file GLWIconButton.cpp.
References icon_, and GLWidget::setH().
| GLTexture* GLWIconButton::getTexture | ( | ) | [inline] |
| void GLWIconButton::setTexture | ( | GLTexture * | texture | ) | [inline] |
Definition at line 43 of file GLWIconButton.h.
References icon_, and GLWIcon::setTexture().
Referenced by GLWChannelView::draw(), and GLWChannelText::draw().
| GLWIconButton::REGISTER_CLASS_HEADER | ( | GLWIconButton | ) |
GLWIcon GLWIconButton::icon_ [protected] |
Definition at line 48 of file GLWIconButton.h.
Referenced by draw(), getTexture(), setH(), setTexture(), setW(), setX(), and setY().
1.5.3