C4 Engine
C4 Engine API Documentation

class SliderWidget

Defined in:  C4Widgets.h
The SliderWidget class represents an interface widget that displays a slider.

class SliderWidget final : public RenderableWidget


SliderWidget(const Vector2D& size);

size The size of the slider, in pixels.
The SliderWidget class displays a slider.

The default widget color corresponds to the kWidgetColorBackground color type and determines the color of the slider bar. The kWidgetColorButton color type is also supported, and it controls the color of the slider indicator button. If a button color has not been explicitly specified, then the Interface Manager's global button color is used.
Base Classes
RenderableWidget All rendered interface widgets are subclasses of RenderableWidget.
Wiki Articles

Slider Widget