C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

class InterfaceMgr

Defined in:  C4Interface.h
The Interface Manager class.
Definition

class InterfaceMgr : public Manager<InterfaceMgr>

Member Functions
InterfaceMgr::InstallWindowEventHandler Installs a window event handler.
InterfaceMgr::AddWidget Adds a user interface element to the desktop.
InterfaceMgr::RemoveWidget Removes a user interface element from the desktop.
 
InterfaceMgr::SetInputManagementMode Sets the input management mode.
 
InterfaceMgr::GetDesktopSize Returns the size of the desktop area.
 
InterfaceMgr::SetCursor Sets the cursor that is rendered by the Interface Manager.
InterfaceMgr::CursorVisible Returns the cursor visibility state.
InterfaceMgr::HideCursor Hides the cursor.
InterfaceMgr::ShowCursor Shows the cursor.
 
InterfaceMgr::GetShiftKey Returns a boolean value indicating whether the Shift key is pressed.
InterfaceMgr::GetOptionKey Returns a boolean value indicating whether the option key is pressed.
InterfaceMgr::GetCommandKey Returns a boolean value indicating whether the command key is pressed.
Description
The InterfaceMgr class encapsulates the user interface features of the C4 Engine. The single instance of the Interface Manager is constructed during an application's initialization and destroyed at termination.

The Interface Manager's member functions are accessed through the global pointer TheInterfaceMgr.
See Also

Window

Widget