Top level display class. More...
#include <display.h>
Static Public Member Functions | |
Attributes | |
| static CL_DisplayTarget | get_current_target () |
| Returns the currently selected display target. | |
Operations | |
| static void | set_current_target (const CL_DisplayTarget &target, bool only_set_if_null=false) |
| Sets the currently selected display target. | |
Top level display class.
The display class provides a static function interface to CL_DisplayWindow and other clanDisplay classes. It uses a selected display window (by default the first created window) to call the equalent functions in CL_DisplayWindow, CL_GraphicContext and such.
The entire point of this is to allow applications with only one window to not pass around a pointer to the display window.
| static CL_DisplayTarget CL_Display::get_current_target | ( | ) | [static] |
Returns the currently selected display target.
| static void CL_Display::set_current_target | ( | const CL_DisplayTarget & | target, | |
| bool | only_set_if_null = false | |||
| ) | [static] |
Sets the currently selected display target.
1.7.1