MercuryWindowFB Class Reference

Display driver for the framebuffer. More...

#include <MercuryWindowFB.h>

Inheritance diagram for MercuryWindowFB:

Inheritance graph
[legend]
Collaboration diagram for MercuryWindowFB:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MercuryWindowFB ()
 ~MercuryWindowFB ()
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 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

unsigned int length
int m_flags
RendererType m_RT
unsigned char * m_BackBuffer
unsigned char * m_FrontBuffer
unsigned int m_iFrame
int fd

Detailed Description

Display driver for the framebuffer.

Definition at line 7 of file MercuryWindowFB.h.


Constructor & Destructor Documentation

MercuryWindowFB::MercuryWindowFB (  ) 

Definition at line 22 of file MercuryWindowFB.cpp.

MercuryWindowFB::~MercuryWindowFB (  ) 

Definition at line 28 of file MercuryWindowFB.cpp.


Member Function Documentation

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

Implements MercuryWindow.

Definition at line 37 of file MercuryWindowFB.cpp.

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

Implements MercuryWindow.

Definition at line 164 of file MercuryWindowFB.cpp.

void MercuryWindowFB::DestroyWindow (  )  [virtual]

Implements MercuryWindow.

Definition at line 106 of file MercuryWindowFB.cpp.

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

Implements MercuryWindow.

Definition at line 135 of file MercuryWindowFB.cpp.

bool MercuryWindowFB::HasFocus (  )  [virtual]

Reimplemented from MercuryWindow.

Definition at line 140 of file MercuryWindowFB.cpp.

void MercuryWindowFB::DestroyWindowAndRender (  )  [virtual]

Implements MercuryWindow.

Definition at line 145 of file MercuryWindowFB.cpp.

bool MercuryWindowFB::RestoreDevice (  )  [virtual]

Implements MercuryWindow.

Definition at line 149 of file MercuryWindowFB.cpp.

bool MercuryWindowFB::MakeRenderCurrent (  )  [virtual]

Implements MercuryWindow.

Definition at line 154 of file MercuryWindowFB.cpp.

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

Reimplemented from MercuryWindow.

Definition at line 159 of file MercuryWindowFB.cpp.

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

Implements MercuryWindow.

Definition at line 110 of file MercuryWindowFB.cpp.


Member Data Documentation

unsigned int MercuryWindowFB::length [private]

Definition at line 24 of file MercuryWindowFB.h.

int MercuryWindowFB::m_flags [private]

Definition at line 25 of file MercuryWindowFB.h.

RendererType MercuryWindowFB::m_RT [private]

Definition at line 26 of file MercuryWindowFB.h.

unsigned char* MercuryWindowFB::m_BackBuffer [private]

Definition at line 27 of file MercuryWindowFB.h.

unsigned char* MercuryWindowFB::m_FrontBuffer [private]

Definition at line 28 of file MercuryWindowFB.h.

unsigned int MercuryWindowFB::m_iFrame [private]

Definition at line 29 of file MercuryWindowFB.h.

int MercuryWindowFB::fd [private]

Definition at line 30 of file MercuryWindowFB.h.


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