mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
fb_generic: make paintLine virtual
This commit is contained in:
committed by
M. Liebmann
parent
6890e003ae
commit
1500716fcf
@@ -214,7 +214,7 @@ class CFrameBuffer : public sigc::trackable
|
||||
inline void paintBox(int xa, int ya, int xb, int yb, const fb_pixel_t col, int radius, int type) { paintBoxRel(xa, ya, xb - xa, yb - ya, col, radius, type); }
|
||||
|
||||
void paintBoxFrame(const int x, const int y, const int dx, const int dy, const int px, const fb_pixel_t col, int radius = 0, int type = CORNER_ALL);
|
||||
void paintLine(int xa, int ya, int xb, int yb, const fb_pixel_t col);
|
||||
virtual void paintLine(int xa, int ya, int xb, 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); }
|
||||
virtual void paintVLineRel(int x, int y, int dy, const fb_pixel_t col);
|
||||
|
Reference in New Issue
Block a user