#include <GLWScrollButton.h>

Public Member Functions | |
| GLWScrollButton (float x, float y, float w, float h) | |
| virtual | ~GLWScrollButton () |
| virtual void | mouseDown (int button, float x, float y, bool &skipRest) |
| virtual void | mouseDrag (int button, float mx, float my, float x, float y, bool &skipRest) |
| void | setScrollHandler (GLWScrollButtonI *handler) |
Protected Attributes | |
| GLWScrollButtonI * | scrollHandler_ |
| float | startX_ |
| float | startY_ |
Definition at line 35 of file GLWScrollButton.h.
| GLWScrollButton::GLWScrollButton | ( | float | x, | |
| float | y, | |||
| float | w, | |||
| float | h | |||
| ) |
Definition at line 28 of file GLWScrollButton.cpp.
| GLWScrollButton::~GLWScrollButton | ( | ) | [virtual] |
Definition at line 35 of file GLWScrollButton.cpp.
| void GLWScrollButton::mouseDown | ( | int | button, | |
| float | x, | |||
| float | y, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWButton.
Definition at line 40 of file GLWScrollButton.cpp.
References GLWidget::id_, GLWButton::mouseDown(), scrollHandler_, GLWScrollButtonI::startDrag(), startX_, and startY_.
Referenced by GLWScrollW::mouseDown().
| void GLWScrollButton::mouseDrag | ( | int | button, | |
| float | mx, | |||
| float | my, | |||
| float | x, | |||
| float | y, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWButton.
Definition at line 53 of file GLWScrollButton.cpp.
References GLWScrollButtonI::buttonDrag(), GLWidget::id_, GLWButton::pressed_, scrollHandler_, startX_, and startY_.
Referenced by GLWScrollW::mouseDrag().
| void GLWScrollButton::setScrollHandler | ( | GLWScrollButtonI * | handler | ) |
Definition at line 67 of file GLWScrollButton.cpp.
References scrollHandler_.
Referenced by GLWScrollW::GLWScrollW().
GLWScrollButtonI* GLWScrollButton::scrollHandler_ [protected] |
Definition at line 46 of file GLWScrollButton.h.
Referenced by mouseDown(), mouseDrag(), and setScrollHandler().
float GLWScrollButton::startX_ [protected] |
float GLWScrollButton::startY_ [protected] |
1.5.3