C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

class PanelController

Defined in:  C4Panels.h
The PanelController class manages an interface panel effect in a world.
Definition

class PanelController : public ScriptController

Member Functions
PanelController::GetInternalPanelSize Returns the internal panel size.
PanelController::SetInternalPanelSize Sets the internal panel size.
PanelController::GetFirstWidget Returns the first panel item for a panel controller.
PanelController::GetLastWidget Returns the first panel item for a panel controller.
PanelController::GetWidgetCount Returns the number of panel items attached to a panel controller.
PanelController::AppendWidget Appends a panel item to the list owned by a panel controller.
PanelController::PrependWidget Prepends a panel item to the list owned by a panel controller.
PanelController::InsertWidgetBefore Inserts a panel item before another in the list owned by a panel controller.
PanelController::InsertWidgetAfter Inserts a panel item after another in the list owned by a panel controller.
PanelController::RemoveWidget Removes a panel item from the list owned by a panel controller.
PanelController::PurgeWidgets Purges all panel items from the list owned by a panel controller.
Constructor

PanelController();

Description


Base Classes
ScriptController Elements of an interface panel can have scripts attached to them.
See Also

Widget

PanelEffect