projects
/
vuplus_dvbapp
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add abstract class gMainDC as an interface for gFBDC and gSDLDC
[vuplus_dvbapp]
/
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