framebuffer_ng: add getScreen*Rel() functions

This commit is contained in:
Stefan Seyfried
2013-04-06 11:29:27 +02:00
parent 5ad0b6b6dc
commit 575c7c1da3
2 changed files with 16 additions and 0 deletions

View File

@@ -54,6 +54,9 @@ typedef struct fb_var_screeninfo t_fb_var_screeninfo;
#define FADE_STEP 5
#define FADE_RESET 0xFFFF
#define NON_BIG_WINDOWS 85 // %
#define ConnectLineBox_Width 16 // px
#if HAVE_GENERIC_HARDWARE
#define USE_OPENGL 1
#endif
@@ -178,6 +181,8 @@ class CFrameBuffer
unsigned int getStride() const; // size of a single line in the framebuffer (in bytes)
unsigned int getScreenWidth(bool real = false);
unsigned int getScreenHeight(bool real = false);
unsigned int getScreenWidthRel();
unsigned int getScreenHeightRel();
unsigned int getScreenX();
unsigned int getScreenY();