git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove faulty debug print
[enigma2.git]
/
lib
/
gdi
/
fb.h
diff --git
a/lib/gdi/fb.h
b/lib/gdi/fb.h
index d0ad6fed0bc5e970b847c843e46324b02d843b70..332819fd1238451bb9e6dfb743457474fc74a34c 100644
(file)
--- a/
lib/gdi/fb.h
+++ b/
lib/gdi/fb.h
@@
-13,13
+13,19
@@
class fbClass
fb_cmap cmap;
__u16 red[256], green[256], blue[256], trans[256];
static fbClass *instance;
fb_cmap cmap;
__u16 red[256], green[256], blue[256], trans[256];
static fbClass *instance;
-
int locked;
int locked;
+
+ int m_number_of_pages;
public:
unsigned char *lfb;
int showConsole(int state);
int SetMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);
int Available() { return available; }
public:
unsigned char *lfb;
int showConsole(int state);
int SetMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);
int Available() { return available; }
+
+ int getNumPages() { return m_number_of_pages; }
+
+ int setOffset(int off);
+ int waitVSync();
unsigned int Stride() { return stride; }
fb_cmap *CMAP() { return &cmap; }
unsigned int Stride() { return stride; }
fb_cmap *CMAP() { return &cmap; }
@@
-31,13
+37,9
@@
public:
// low level gfx stuff
int PutCMAP();
// low level gfx stuff
int PutCMAP();
- // gfx stuff (colors are 8bit!)
- void Box(int x, int y, int width, int height, int color, int backcolor=0);
- void NBox(int x, int y, int width, int height, int color);
- void VLine(int x, int y, int sy, int color);
-
int lock();
void unlock();
int lock();
void unlock();
+ int islocked() { return locked; }
};
#endif
};
#endif