diff options
Diffstat (limited to 'src/Fl_Device.cxx')
| -rw-r--r-- | src/Fl_Device.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx index 689ee4654..c4b7c8585 100644 --- a/src/Fl_Device.cxx +++ b/src/Fl_Device.cxx @@ -20,6 +20,7 @@ #include "config_lib.h" #include <FL/Fl_Device.H> #include <FL/Fl_Image.H> +#include <FL/fl_draw.h> #ifdef FL_CFG_GFX_QUARTZ #include "drivers/Quartz/Fl_Quartz_Graphics_Driver.h" @@ -87,6 +88,13 @@ void Fl_Graphics_Driver::text_extents(const char*t, int n, int& dx, int& dy, int dy = descent(); } +void Fl_Graphics_Driver::focus_rect(int x, int y, int w, int h) +{ + line_style(FL_DOT); + rect(x, y, w, h); + line_style(FL_SOLID); +} + /** A constructor that sets the graphics driver used by the display */ Fl_Display_Device::Fl_Display_Device(Fl_Graphics_Driver *graphics_driver) : Fl_Surface_Device(graphics_driver) { this->set_current(); |
