ClanLib
2.3.7
|
Display target for clanDisplay. More...
#include <display_target.h>
Public Member Functions | |
Construction | |
CL_DisplayTarget () | |
Constructs a display target if a CL_Display current target exists. Else create a null instance. More... | |
CL_DisplayTarget (CL_DisplayTargetProvider *provider) | |
Constructs a DisplayTarget. More... | |
virtual | ~CL_DisplayTarget () |
Attributes | |
CL_DisplayTargetProvider * | get_provider () |
Returns the provider for the display target. More... | |
bool | is_null () const |
Returns true if this object is invalid. More... | |
void | throw_if_null () const |
Throw an exception if this object is invalid. More... | |
Operations | |
void | set_current () |
Set this display target to be the current target. More... | |
Implementation | |
class | CL_Display |
Display target for clanDisplay.
CL_DisplayTarget::CL_DisplayTarget | ( | ) |
Constructs a display target if a CL_Display current target exists. Else create a null instance.
CL_DisplayTarget::CL_DisplayTarget | ( | CL_DisplayTargetProvider * | provider) |
Constructs a DisplayTarget.
provider | = Display Target Provider |
|
virtual |
CL_DisplayTargetProvider* CL_DisplayTarget::get_provider | ( | ) |
Returns the provider for the display target.
|
inline |
Returns true if this object is invalid.
void CL_DisplayTarget::set_current | ( | ) |
Set this display target to be the current target.
void CL_DisplayTarget::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
|
friend |