HoverRace  2.0
Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
HoverRace::Display::SDL::SdlLegacyDisplay Class Reference

#include <SdlLegacyDisplay.h>

+ Inheritance diagram for HoverRace::Display::SDL::SdlLegacyDisplay:

Public Member Functions

 SdlLegacyDisplay (SdlDisplay &sdlDisplay)
 
virtual ~SdlLegacyDisplay ()
 
- Public Member Functions inherited from HoverRace::VideoServices::VideoBuffer
 VideoBuffer (Display::Display &display)
 Constructor. More...
 
virtual ~VideoBuffer ()
 
void AssignPalette ()
 
void Clear (MR_UInt8 color=0)
 
void CreatePalette ()
 
void DrawHorizontalLine (int pY, int pX0, int pX1, MR_UInt8 pColor)
 
void DrawLine (int pX0, int pY0, int pX1, int pY1, MR_UInt8 pColor)
 
void DrawPoint (int pX, int pY, MR_UInt8 pColor)
 
MR_UInt8GetBuffer () const
 
int GetHeight () const
 
const ColorPalette::paletteEntry_tGetPalette () const
 
paletteChangedSignal_tGetPaletteChangedSignal ()
 
int GetPitch () const
 
pixelMeter_t GetPixelMeter () const
 
int GetWidth () const
 
MR_UInt16GetZBuffer () const
 
int GetZPitch () const
 
void OnDesktopModeChange (int width, int height)
 Notify the video buffer that the desktop resolution has changed. More...
 
void SetBackgroundPalette (std::unique_ptr< MR_UInt8[]> &palette)
 

Protected Member Functions

virtual void Flip ()
 
virtual void OnWindowResChange ()
 Notify the video buffer that the window size has changed. More...
 
- Protected Member Functions inherited from HoverRace::VideoServices::VideoBuffer
SDL_Surface * GetLegacySurface () const
 
void LockLegacySurface ()
 
void UnlockLegacySurface ()
 

Private Types

typedef VideoServices::VideoBuffer SUPER
 

Private Attributes

SDL_Surface * nativeSurface
 
SdlDisplaysdlDisplay
 
SDL_Texture * texture
 

Additional Inherited Members

- Public Types inherited from HoverRace::VideoServices::VideoBuffer
typedef boost::signals2::signal< void()> paletteChangedSignal_t
 
typedef std::pair< int, int > pixelMeter_t
 

Member Typedef Documentation

Constructor & Destructor Documentation

HoverRace::Display::SDL::SdlLegacyDisplay::SdlLegacyDisplay ( SdlDisplay sdlDisplay)
inline
HoverRace::Display::SDL::SdlLegacyDisplay::~SdlLegacyDisplay ( )
virtual

Member Function Documentation

void HoverRace::Display::SDL::SdlLegacyDisplay::Flip ( )
protectedvirtual
void HoverRace::Display::SDL::SdlLegacyDisplay::OnWindowResChange ( )
protectedvirtual

Notify the video buffer that the window size has changed.

Reimplemented from HoverRace::VideoServices::VideoBuffer.

Member Data Documentation

SDL_Surface* HoverRace::Display::SDL::SdlLegacyDisplay::nativeSurface
private
SdlDisplay& HoverRace::Display::SDL::SdlLegacyDisplay::sdlDisplay
private
SDL_Texture* HoverRace::Display::SDL::SdlLegacyDisplay::texture
private

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