C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

class Board

Defined in:  C4Widgets.h
A Board object represents a simple display interface.
Definition

class Board : public RootWidget

Constructor

Board(const Vector2D& size);

Parameters
size The size of the board, in pixels.
Description
The Board class is a lightweight root widget that is typically used for interfaces that don't require user interaction. They are often used for interfaces that simply display information to the user.

The Board constructor has protected access. It is used by creating a specialized subclass that fills the interface with its contents by either loading one or more panel resources or explicitly creating widgets.
Base Classes
RootWidget A board serves as a root widget container.