summaryrefslogtreecommitdiff
path: root/src/Fl_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-05-06 06:46:40 +0000
committerManolo Gouy <Manolo>2018-05-06 06:46:40 +0000
commitaab1b72af4924293ffc2fa74180480dc9afcc06f (patch)
tree95cfd0d5e8deae9f3873c1fe2dfef3fd42f8b87b /src/Fl_Graphics_Driver.cxx
parente6929834c7f41b172b63795bd76cddb6295b7ca5 (diff)
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
Diffstat (limited to 'src/Fl_Graphics_Driver.cxx')
-rw-r--r--src/Fl_Graphics_Driver.cxx5
1 files changed, 0 insertions, 5 deletions
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. */