From aab1b72af4924293ffc2fa74180480dc9afcc06f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 6 May 2018 06:46:40 +0000 Subject: Improve fl_overlay_rect() when GUI is scaled. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Graphics_Driver.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Fl_Graphics_Driver.cxx') diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 648a9f2d0..0523e012d 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -192,11 +192,6 @@ unsigned Fl_Graphics_Driver::font_desc_size() { return (unsigned)sizeof(Fl_Fontdesc); } -bool Fl_Graphics_Driver::overlay_rect_unscaled() -{ - return (scale() == int(scale())); -} - /** Converts \p width and \p height from FLTK units to drawing units. The conversion performed consists in multiplying \p width and \p height by scale() and in slightly modifying that to help support tiled images. */ -- cgit v1.2.3