C4 Engine
C4 Engine API Documentation

class ProgressWidget

Defined in:  C4Widgets.h
The ProgressWidget class represents an interface widget that displays a progress bar.
Definition

class ProgressWidget final : public RenderableWidget

Constructor

ProgressWidget(const Vector2D& size);

Parameters
size The size of the progress bar, in pixels.
Description
The ProgressWidget class displays a progress bar.

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

Progress Widget