MercuryWindowSDL Class Reference

Display driver for Linux. More...

#include <MercuryWindowSDL.h>

Inheritance diagram for MercuryWindowSDL:

Inheritance graph
[legend]
Collaboration diagram for MercuryWindowSDL:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MercuryWindowSDL ()
 ~MercuryWindowSDL ()
virtual bool MakeWindow (const char *title, int width, int height, int bits, bool fullscreenflag)
virtual bool MakeRender (const char *title, int width, int height, int bits, bool fullscreenflag, RendererType RT)
virtual void DestroyWindow ()
virtual bool MakeOGL ()
virtual bool Update (const float dTime)
virtual bool HasFocus ()
virtual void DestroyWindowAndRender ()
virtual bool RestoreDevice ()
virtual bool MakeRenderCurrent ()
virtual unsigned char * GetBackDirectBuffer ()

Protected Member Functions

virtual void SwapBuffersInternal ()

Private Attributes

SDL_Surface * m_surface
SDL_Event m_event
const SDL_VideoInfo * m_info
int m_flags
RendererType m_RT
unsigned char * m_BackBuffer

Detailed Description

Display driver for Linux.

Definition at line 8 of file MercuryWindowSDL.h.


Constructor & Destructor Documentation

MercuryWindowSDL::MercuryWindowSDL (  ) 

Definition at line 7 of file MercuryWindowSDL.cpp.

MercuryWindowSDL::~MercuryWindowSDL (  ) 

Definition at line 27 of file MercuryWindowSDL.cpp.


Member Function Documentation

bool MercuryWindowSDL::MakeWindow ( const char *  title,
int  width,
int  height,
int  bits,
bool  fullscreenflag 
) [virtual]

Implements MercuryWindow.

Definition at line 32 of file MercuryWindowSDL.cpp.

bool MercuryWindowSDL::MakeRender ( const char *  title,
int  width,
int  height,
int  bits,
bool  fullscreenflag,
RendererType  RT 
) [virtual]

Implements MercuryWindow.

Definition at line 175 of file MercuryWindowSDL.cpp.

void MercuryWindowSDL::DestroyWindow (  )  [virtual]

Implements MercuryWindow.

Definition at line 90 of file MercuryWindowSDL.cpp.

bool MercuryWindowSDL::MakeOGL (  )  [virtual]

Definition at line 94 of file MercuryWindowSDL.cpp.

bool MercuryWindowSDL::Update ( const float  dTime  )  [virtual]

Implements MercuryWindow.

Definition at line 121 of file MercuryWindowSDL.cpp.

bool MercuryWindowSDL::HasFocus (  )  [virtual]

Reimplemented from MercuryWindow.

Definition at line 145 of file MercuryWindowSDL.cpp.

void MercuryWindowSDL::DestroyWindowAndRender (  )  [virtual]

Implements MercuryWindow.

Definition at line 155 of file MercuryWindowSDL.cpp.

bool MercuryWindowSDL::RestoreDevice (  )  [virtual]

Implements MercuryWindow.

Definition at line 160 of file MercuryWindowSDL.cpp.

bool MercuryWindowSDL::MakeRenderCurrent (  )  [virtual]

Implements MercuryWindow.

Definition at line 165 of file MercuryWindowSDL.cpp.

unsigned char * MercuryWindowSDL::GetBackDirectBuffer (  )  [virtual]

Reimplemented from MercuryWindow.

Definition at line 170 of file MercuryWindowSDL.cpp.

void MercuryWindowSDL::SwapBuffersInternal (  )  [protected, virtual]

Implements MercuryWindow.

Definition at line 106 of file MercuryWindowSDL.cpp.


Member Data Documentation

SDL_Surface* MercuryWindowSDL::m_surface [private]

Definition at line 26 of file MercuryWindowSDL.h.

SDL_Event MercuryWindowSDL::m_event [private]

Definition at line 27 of file MercuryWindowSDL.h.

const SDL_VideoInfo* MercuryWindowSDL::m_info [private]

Definition at line 28 of file MercuryWindowSDL.h.

int MercuryWindowSDL::m_flags [private]

Definition at line 29 of file MercuryWindowSDL.h.

RendererType MercuryWindowSDL::m_RT [private]

Definition at line 30 of file MercuryWindowSDL.h.

unsigned char* MercuryWindowSDL::m_BackBuffer [private]

Definition at line 31 of file MercuryWindowSDL.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo