List of all members.
Detailed Description
Base class for scrolling.
- Note:
- When drawing a derived Control, the area must be the width and height of the scrollarea minus the width of the vertical scrollbar and the height of the horizontal scrollbar.
Constructor & Destructor Documentation
| ScrollArea::ScrollArea |
( |
const std::string & |
name, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | |
| ScrollArea::~ScrollArea |
( |
|
) |
|
Member Function Documentation
| virtual void ScrollArea::areaChanged |
( |
|
) |
[inline, private, virtual] |
| void ScrollArea::drawPlain |
( |
|
) |
[private, virtual] |
| void ScrollArea::drawSkin |
( |
|
) |
[private, virtual] |
| void ScrollArea::initialize |
( |
|
) |
[protected, virtual] |
Initialize all internal variables, and any child controls needed.
Reimplemented from Container.
| void ScrollArea::logic |
( |
|
) |
[protected, virtual] |
| void ScrollArea::onMouseWheelMotion |
( |
Event * |
event |
) |
[private, virtual] |
Called whenever a MOUSE_WHEEL_UP or MOUSE_WHEEL_DOWN are fired.
Reimplemented from Control.
| void ScrollArea::push |
( |
Event * |
event |
) |
[private, virtual] |
| virtual void ScrollArea::scrollAreaInit |
( |
|
) |
[inline, private, virtual] |
Used to initialize the control and its properties.
This function must be overriden in derived controls, such as the TextBox.
Reimplemented in ListBox, and TextBox.
Member Data Documentation
The documentation for this class was generated from the following files: