C4 Engine
C4 Engine API Documentation

class SliderWidget

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

class SliderWidget final : public RenderableWidget

Constructor

SliderWidget(const Vector2D& size);

Parameters
size The size of the slider, in pixels.
Description
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