ClanLib  2.3.7
List of all members
CL_DisplayTarget Class Reference

Display target for clanDisplay. More...

#include <display_target.h>

Inheritance diagram for CL_DisplayTarget:
Inheritance graph
[legend]

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_DisplayTargetProviderget_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
 

Detailed Description

Display target for clanDisplay.

Constructor & Destructor Documentation

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.

Parameters
provider= Display Target Provider
virtual CL_DisplayTarget::~CL_DisplayTarget ( )
virtual

Member Function Documentation

CL_DisplayTargetProvider* CL_DisplayTarget::get_provider ( )

Returns the provider for the display target.

bool CL_DisplayTarget::is_null ( ) const
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.

Friends And Related Function Documentation

friend class CL_Display
friend

The documentation for this class was generated from the following file: