C4 Engine
C4 Engine API Documentation

class ScrollWidget

Defined in:  C4Widgets.h
The 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

Scroll Widget