C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

class ConfigurationWidget

Defined in:  C4Configuration.h
The ConfigurationWidget class represents an interface widget that displays a configuration table.
Definition

class ConfigurationWidget : public RenderableWidget

Constructor

ConfigurationWidget(const Vector2D& size, float titleFraction, unsigned long flags = 0);

Parameters
size The size of the configuration widget, in pixels.
titleFraction The fraction of the horizontal width dedicated to displaying setting titles.
flags The configuration widget flags. This is used internally and should be set to zero.
Description
The ConfigurationWidget class displays a configuration table that is used to show property settings to the user.

The default widget color corresponds to the kWidgetColorBorder color type and controls the color of the configuration table's outer border. Other color types supported by the configuration widget are kWidgetColorLine and kWidgetColorBackground.
Base Classes
RenderableWidget All rendered interface widgets are subclasses of RenderableWidget.