C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class DisplayMgr

Defined in:  C4Display.h
The Display Manager class.
Definition

class DisplayMgr : public Manager<DisplayMgr>

Member Functions
DisplayMgr::GetDisplayWidth Returns the current width of the display.
DisplayMgr::GetDisplayHeight Returns the current height of the display.
DisplayMgr::SetDisplayMode Sets the current display mode.
DisplayMgr::InstallDisplayEventHandler Installs a display event handler.
Description
The DisplayMgr class encapsulates the display management functionality of the C4 Engine. The single instance of the Display Manager is constructed during an application's initialization and destroyed at termination.

The Display Manager's member functions are accessed through the global pointer TheDisplayMgr.