9f86cbbde5d8a02bd194e152431425fe1e32b748
[enigma2.git] / lib / gdi / sdl.h
1 #ifndef __lib_gdi_sdl_h
2 #define __lib_gdi_sdl_h
3
4 #include "fb.h"
5 #include "gpixmap.h"
6 #include "gmaindc.h"
7
8 #include <SDL.h>
9
10 class gSDLDC: public gMainDC
11 {
12         SDL_Surface *m_screen;
13         void exec(const gOpcode *opcode);
14
15         void setPalette();
16         gSurface m_surface;
17 public:
18         
19         void setResolution(int xres, int yres);
20         gSDLDC();
21         virtual ~gSDLDC();
22         int islocked() { return 0; }
23 };
24
25 #endif