GLWPushButton Class Reference

#include <GLWPushButton.h>

Inheritance diagram for GLWPushButton:

GLWButton GLWidget MetaClass

List of all members.

Public Member Functions

 GLWPushButton (float x=0.0f, float y=0.0f, float w=0.0f, float h=0.0f, GLWPushButtonI *handler=0)
virtual ~GLWPushButton ()
virtual void mouseDown (int button, float x, float y, bool &skipRest)
virtual void mouseUp (int button, float x, float y, bool &skipRest)
 REGISTER_CLASS_HEADER (GLWPushButton)


Detailed Description

Definition at line 34 of file GLWPushButton.h.


Constructor & Destructor Documentation

GLWPushButton::GLWPushButton ( float  x = 0.0f,
float  y = 0.0f,
float  w = 0.0f,
float  h = 0.0f,
GLWPushButtonI handler = 0 
)

Definition at line 30 of file GLWPushButton.cpp.

References GLWButton::setHandler().

GLWPushButton::~GLWPushButton (  )  [virtual]

Definition at line 36 of file GLWPushButton.cpp.


Member Function Documentation

void GLWPushButton::mouseDown ( int  button,
float  x,
float  y,
bool &  skipRest 
) [virtual]

Reimplemented from GLWButton.

Definition at line 41 of file GLWPushButton.cpp.

References GLWButtonI::buttonDown(), GLWidget::getId(), GLWidget::h_, GLWButton::handler_, GLWButton::pressed_, GLWidget::w_, GLWidget::x_, and GLWidget::y_.

Referenced by GLWDropDown::mouseDown().

void GLWPushButton::mouseUp ( int  button,
float  x,
float  y,
bool &  skipRest 
) [virtual]

Reimplemented from GLWButton.

Definition at line 60 of file GLWPushButton.cpp.

Referenced by GLWDropDown::mouseUp().

GLWPushButton::REGISTER_CLASS_HEADER ( GLWPushButton   ) 


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