| 1 |
#ifndef FAKEIOGFXDISPLAY_H |
| 2 |
#define FAKEIOGFXDISPLAY_H |
| 3 |
|
| 4 |
#include "IOGfxDisplay.h" |
| 5 |
|
| 6 |
class FakeIOGfxDisplay: public IOGfxDisplay { |
| 7 |
public: |
| 8 |
FakeIOGfxDisplay(int w, int h, bool truecolor, Uint32 flags); |
| 9 |
virtual void clear(); |
| 10 |
virtual void flip(IOGfxSurface* backbuffer, SDL_Rect* dstrect, |
| 11 |
bool interpolation, bool hwflip); |
| 12 |
virtual void onSizeChange(int w, int h); |
| 13 |
virtual IOGfxSurface* upload(SDL_Surface* s); |
| 14 |
virtual IOGfxSurface* allocBuffer(int surfW, int surfH); |
| 15 |
virtual SDL_Surface* screenshot(SDL_Rect* rect); |
| 16 |
}; |
| 17 |
|
| 18 |
#endif |