CFBWindow: Add saveScreen() & restoreScreen() for using...

...in external plugins
This commit is contained in:
M. Liebmann
2015-11-27 12:11:54 +01:00
parent a307e806eb
commit 895b781629
2 changed files with 21 additions and 6 deletions

View File

@@ -45,6 +45,9 @@ class CFBWindow
void paintBoxRel(const int _x, const int _y, const int _dx, const int _dy, const color_t _col, int radius = 0, int type = 0xF);
bool paintIcon(const char * const _filename, const int _x, const int _y, const int _h = 0, const color_t _offset = 1);
void RenderString(const font_t _font, const int _x, const int _y, const int _width, const char * const _text, const color_t _color, const int _boxheight = 0, const unsigned int _flags = Font::IS_UTF8);
fb_pixel_t* saveScreen(const int _x, const int _y, const int _dx, const int _dy);
void restoreScreen(const int _x, const int _y, const int _dx, const int _dy, fb_pixel_t* buf, bool delBuf);
};
#endif /* __fb_window_h__ */