#include <sliderverticalgrip.h>
Public Member Functions | |
| SliderVerticalGrip (s16 x, s16 y, u16 width, u16 height) | |
| virtual void | draw (Rect clipRect) |
| virtual bool | click (s16 x, s16 y) |
| virtual bool | release (s16 x, s16 y) |
| virtual bool | drag (s16 x, s16 y, s16 vX, s16 vY) |
Protected Member Functions | |
| virtual | ~SliderVerticalGrip () |
| SliderVerticalGrip (const SliderVerticalGrip &sliderVerticalGrip) | |
Class representing the grip, or draggable button, with a vertical slider.
| WoopsiUI::SliderVerticalGrip::SliderVerticalGrip | ( | s16 | x, | |
| s16 | y, | |||
| u16 | width, | |||
| u16 | height | |||
| ) |
Constructor.
| x | The x co-ordinate of the grip, relative to its parent. | |
| y | The y co-ordinate of the grip, relative to its parent. | |
| width | The width of the grip. | |
| height | The height of the grip. |
| virtual WoopsiUI::SliderVerticalGrip::~SliderVerticalGrip | ( | ) | [inline, protected, virtual] |
Destructor.
| WoopsiUI::SliderVerticalGrip::SliderVerticalGrip | ( | const SliderVerticalGrip & | sliderVerticalGrip | ) | [inline, protected] |
Copy constructor is protected to prevent usage.
| virtual bool WoopsiUI::SliderVerticalGrip::click | ( | s16 | x, | |
| s16 | y | |||
| ) | [virtual] |
Click the grip at the specified co-ordinates.
| x | The x co-ordinate of the click. | |
| y | The y co-ordinate of the click. |
Reimplemented from WoopsiUI::Gadget.
| virtual bool WoopsiUI::SliderVerticalGrip::drag | ( | s16 | x, | |
| s16 | y, | |||
| s16 | vX, | |||
| s16 | vY | |||
| ) | [virtual] |
Drag the gadget to the supplied co-ordinates.
| x | The x co-ordinate of the stylus. | |
| y | The y co-ordinate of the stylus. | |
| vX | The horizontal distance that the stylus was dragged. | |
| vY | The vertical distance that the stylus was dragged. |
Reimplemented from WoopsiUI::Gadget.
| virtual void WoopsiUI::SliderVerticalGrip::draw | ( | Rect | clipRect | ) | [virtual] |
Draw the region of the slider that falls within the clipping rect. Use draw() instead in most circumstances.
| clipRect | The clipping region. |
Reimplemented from WoopsiUI::Gadget.
| virtual bool WoopsiUI::SliderVerticalGrip::release | ( | s16 | x, | |
| s16 | y | |||
| ) | [virtual] |
Release this gadget at the supplied co-ordinates
| x | X co-ordinate of the release. | |
| y | Y co-ordinate of the release. |
Reimplemented from WoopsiUI::Gadget.
1.6.1