ClanLib
2.3.7
|
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. More... | |
Operations | |
static void | set_current_target (const CL_DisplayTarget &target, bool only_set_if_null=false) |
Sets the currently selected display target. More... | |
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 |
Returns the currently selected display target.
|
static |
Sets the currently selected display target.