SDLPP::GraphicsManager Class Reference

#include <sdlpp_graphics.h>

Inheritance diagram for SDLPP::GraphicsManager:
SDLPP::Singleton

List of all members.

Public Member Functions

virtual void shutdown ()
void initialize (int width, int height, bool full_screen)
void flip ()
Uint32 MapRGB (Uint8 r, Uint8 g, Uint8 b)
void GetRGB (Uint32 color, Uint8 &r, Uint8 &g, Uint8 &b)
Bitmapget_screen ()

Static Public Member Functions

static GraphicsManagerinstance (bool destroy=false)

Detailed Description

Singleton graphics management object. This object maintains the screen surface and any other graphics system resources. It is initialized from the Application::init_graphics function.


Member Function Documentation

void SDLPP::GraphicsManager::initialize ( int  width,
int  height,
bool  full_screen 
) [inline]

Initialize the screen. This is called from the Application::init_graphics function.

static GraphicsManager* SDLPP::GraphicsManager::instance ( bool  destroy = false  )  [inline, static]

Returns a pointer to the graphics management object

virtual void SDLPP::GraphicsManager::shutdown (  )  [inline, virtual]

Destroys the graphics management object. This is called automatically before program exit.

Implements SDLPP::Singleton.


The documentation for this class was generated from the following file:
Generated on Wed May 26 17:41:00 2010 for SDLPP by  doxygen 1.6.3