summaryrefslogtreecommitdiff
path: root/src/Fl_Device.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-11-19 16:23:36 +0000
committerManolo Gouy <Manolo>2014-11-19 16:23:36 +0000
commitf52b457cc24c4c66d5d370d1529c5438ec4416df (patch)
tree7b9cc573abde7b8ee6ce458575ade1aab3a2fa55 /src/Fl_Device.cxx
parent659480f28beb44a7a805682563183698a279cd96 (diff)
Added full support of retina displays on the mac platform.
On such displays, one drawing unit equals two pixels. The fl_xyline() and fl_yxline() functions are modified to perform extra operations when drawing to a window on a retina display. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Device.cxx')
-rw-r--r--src/Fl_Device.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx
index 83658edca..0657af401 100644
--- a/src/Fl_Device.cxx
+++ b/src/Fl_Device.cxx
@@ -26,6 +26,7 @@ const char *Fl_Display_Device::class_id = "Fl_Display_Device";
const char *Fl_Graphics_Driver::class_id = "Fl_Graphics_Driver";
#if defined(__APPLE__) || defined(FL_DOXYGEN)
const char *Fl_Quartz_Graphics_Driver::class_id = "Fl_Quartz_Graphics_Driver";
+bool Fl_Display_Device::high_res_window_ = false;
#endif
#if defined(WIN32) || defined(FL_DOXYGEN)
const char *Fl_GDI_Graphics_Driver::class_id = "Fl_GDI_Graphics_Driver";