#include <sdlscrollbar.h>
Inheritance diagram for SDLScrollBar::ScrollButton
Public Methods | |
ScrollButton (SDLScrollBar* parent, int id, SDL_Rect& r) | |
virtual | ~ScrollButton () |
void | SetTickMode (bool on) |
Protected Methods | |
bool | eventMouseButtonDown (const SDL_MouseButtonEvent* button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. More... | |
bool | eventMouseMotion (const SDL_MouseMotionEvent* motion) |
Overridable Eventhandler for a SDL_MouseMotionEvent message. More... | |
SDLScrollBar* | GetParent () |
Get the parentwidget of a widget. More... | |
bool | eventMouseButtonUp (const SDL_MouseButtonEvent* button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. More... | |
int | GetPosFromPoint (SDL_Point p) |
|
|
|
|
|
Get the parentwidget of a widget.
Reimplemented from SDLWidget. |
|
|
|
|
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from SDLUserButton. |
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is released. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from SDLUserButton. |
|
Overridable Eventhandler for a SDL_MouseMotionEvent message. This handler is called when mouse movement is detected. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from SDLMessageObject. |