driver/framebuffer.cpp: cleanup, add ioctls to blit/fill rect using FB

This commit is contained in:
[CST] Focus
2012-12-26 12:20:10 +04:00
parent e30f93c776
commit 418890957d
2 changed files with 80 additions and 119 deletions

View File

@@ -167,10 +167,10 @@ class CFrameBuffer
void paintBoxFrame(const int x, const int y, const int dx, const int dy, const int px, const fb_pixel_t col, const int rad = 0);
void paintLine(int xa, int ya, int xb, int yb, const fb_pixel_t col);
void paintVLine(int x, int ya, int yb, const fb_pixel_t col);
inline void paintVLine(int x, int ya, int yb, const fb_pixel_t col) { paintVLineRel(x, ya, yb - ya, col); }
void paintVLineRel(int x, int y, int dy, const fb_pixel_t col);
void paintHLine(int xa, int xb, int y, const fb_pixel_t col);
inline void paintHLine(int xa, int xb, int y, const fb_pixel_t col) { paintHLineRel(xa, xb - xa, y, col); }
void paintHLineRel(int x, int dx, int y, const fb_pixel_t col);