From f52b457cc24c4c66d5d370d1529c5438ec4416df Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 19 Nov 2014 16:23:36 +0000 Subject: 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 --- src/Fl_Device.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl_Device.cxx') 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"; -- cgit v1.2.3