Debian Codegraph @

src/IOGfxSurfaceSW.h

raw
1 #ifndef IOGFXSURFACESW_H
2 #define IOGFXSURFACESW_H
3
4 #include "IOGfxSurface.h"
5 #include "SDL.h"
6
7 class IOGfxSurfaceSW: public IOGfxSurface {
8 public:
9 SDL_Surface* image;
10 IOGfxSurfaceSW(SDL_Surface* image);
11 virtual ~IOGfxSurfaceSW();
12 virtual void fill_screen(int num, SDL_Color* palette);
13 virtual int fillRect(const SDL_Rect *rect, Uint8 r, Uint8 g, Uint8 b);
14 virtual int blit(IOGfxSurface* src, const SDL_Rect* srcrect, SDL_Rect* dstrect);
15 virtual int blitStretch(IOGfxSurface* src, const SDL_Rect* srcrect, SDL_Rect* dstrect);
16 virtual int blitNoColorKey(IOGfxSurface *src, const SDL_Rect *srcrect, SDL_Rect *dstrect);
17 virtual SDL_Surface* screenshot();
18 virtual unsigned int getMemUsage();
19 };
20
21 #endif