GLWIconButton Class Reference

#include <GLWIconButton.h>

Inheritance diagram for GLWIconButton:

GLWButton GLWidget MetaClass

List of all members.

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)
GLTexturegetTexture ()
void setTexture (GLTexture *texture)
 REGISTER_CLASS_HEADER (GLWIconButton)

Protected Attributes

GLWIcon icon_


Detailed Description

Definition at line 27 of file GLWIconButton.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 42 of file GLWIconButton.h.

References GLWIcon::getTexture(), and icon_.

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   ) 


Member Data Documentation

GLWIcon GLWIconButton::icon_ [protected]

Definition at line 48 of file GLWIconButton.h.

Referenced by draw(), getTexture(), setH(), setTexture(), setW(), setX(), and setY().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:02 2009 for Scorched3D by  doxygen 1.5.3