class ScrollWidget
Defined in:
The C4Widgets.h
ScrollWidget
class represents an interface widget that displays a scroll bar.
Definition
class ScrollWidget final : public RenderableWidget
Constructor
ScrollWidget(const Vector2D& size);
Parameters
size |
The size of the scroll bar, in pixels. |
Description
The ScrollWidget
class displays a scroll bar.The default widget color corresponds to the
kWidgetColorBackground
color type and determines the interior color of the scroll bar. The kWidgetColorButton
color type is also supported, and it controls the color of the up, down, and indicator buttons.
Base Classes
RenderableWidget |
All rendered interface widgets are subclasses of RenderableWidget .
|
Wiki Articles