C4 Engine
C4 Engine API Documentation

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 and simply display information to the user. The Board class 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.