#include <BScroller.h>
Inheritance diagram for BScroller:


Public Types | |
| enum | Orientation { ORIENT_VERTICAL, ORIENT_HORIZONTAL } |
Public Member Functions | |
| BScroller (BWidget *parent, const BRect &frame) | |
| void | setOrientation (Orientation orient) |
| Orientation | orientation (void) const |
| void | setStepIncrement (unsigned int stepIncr) |
| unsigned int | stepIncrement (void) const |
| void | setPageIncrement (unsigned int pageIncr) |
| unsigned int | pageIncrement (void) const |
| void | setPosition (unsigned int position) |
| unsigned int | position (void) const |
| void | setMinimum (unsigned int minimum) |
| unsigned int | minimum (void) const |
| void | setMaximum (unsigned int maximum) |
| unsigned int | maximum (void) const |
| void | setAmountRepresentedByThumb (unsigned int amountRepr) |
| unsigned int | amountRepresentedByThumb (void) const |
| virtual void | draw (BImage &img) |
| Draw the widget onto the given image. | |
| virtual void | handleEvent (const BEvent &event) |
| Handle the given event. Override if necessary. | |
| void | setScrollable (BScrollable *scrollable) |
Public Attributes | |
| int | lastpos |
| BPoint | lastpoint |
Protected Attributes | |
| unsigned int | _stepIncr |
| unsigned int | _pageIncr |
| unsigned int | _position |
| unsigned int | _minimum |
| unsigned int | _maximum |
| unsigned int | _amountRepr |
| Orientation | _orient |
| bool | _dragged |
| BPoint | _dragOrigin |
| BScrollable * | _scrollable |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Draw the widget onto the given image.
Reimplemented from BWidget. |
|
|
Handle the given event. Override if necessary.
Reimplemented from BWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3