C4 Engine
C4 Engine API Documentation

Engine::InstallDisplayEventHandler

Defined in:  C4Engine.h
Installs a display event handler.
Prototype

void InstallDisplayEventHandler(DisplayEventHandler *handler);

Parameters
handler The event handler to install.
Description
The InstallDisplayEventHandler function installs a display event handler that is invoked whenever a display event occurs. Multiple display event handlers may be installed simultaneously, and each one is invoked when an event occurs.

A display event handler is uninstalled by destroying its associated class instance.
See Also

DisplayEventHandler

Engine::InstallMouseEventHandler

Engine::InstallKeyboardEventHandler