C4 Engine
C4 Engine API Documentation

class MultipaneWidget

Defined in:  C4Widgets.h
The MultipaneWidget class represents an interface widget that displays a multipane box.
Definition

class MultipaneWidget final : public RenderableWidget

Constructor

MultipaneWidget(const Vector2D& size, const char *font = "font/Regular", float em = kDefaultFontSize);

Parameters
size The size of the multipane widget, in pixels.
font The name of the font in which the pane titles are displayed.
em The em size of the font, in pixels.
Description
The MultipaneWidget widget displays a multipane box.

The default widget color corresponds to the kWidgetColorBackground color type and determines the color of the pane tabs. Other color types supported by the list widget are kWidgetColorBorder and kWidgetColorHilite. 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

Multipane Widget