summaryrefslogtreecommitdiff
path: root/FL/Fl_Graphics_Driver.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
-rw-r--r--FL/Fl_Graphics_Driver.H6
1 files changed, 6 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index bd4a82326..27778da2f 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -395,6 +395,12 @@ public:
virtual void font_name(int num, const char *name) {}
/** Support function for Fl_Shared_Image drawing */
virtual int draw_scaled(Fl_Image *img, int X, int Y, int W, int H);
+ /** Support function for fl_overlay_rect() and scaled GUI.
+ Defaut implementation may be enough */
+ virtual bool overlay_rect_unscaled();
+ /** Support function for fl_overlay_rect() and scaled GUI.
+ Defaut implementation may be enough */
+ virtual void overlay_rect(int x, int y, int w , int h) { loop(x, y, x+w-1, y, x+w-1, y+h-1, x, y+h-1); }
};
#ifndef FL_DOXYGEN