From b23b11e91ca3a12c8bf13484043e93e2d4c9269f Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Wed, 8 Feb 2017 23:37:19 +0100 Subject: [PATCH] fb_generic: make paintLine virtual Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/7e9dddeabda2f1c67313278f8bbb7f2099fdf292 Author: Stefan Seyfried Date: 2017-02-08 (Wed, 08 Feb 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/fb_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/fb_generic.h b/src/driver/fb_generic.h index 40541e0fa..d9ca28d46 100644 --- a/src/driver/fb_generic.h +++ b/src/driver/fb_generic.h @@ -209,7 +209,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);