From 68a577e1f6cdb6fd1a60a2fff5ceb591fb53256a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 11 Dec 2014 16:54:30 +0000 Subject: Improved handling of high resolution ("retina") displays. The new field bool Fl_X::mapped_to_retina is updated when needed, that is, when the window is moved. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 1 + 1 file changed, 1 insertion(+) (limited to 'FL') diff --git a/FL/mac.H b/FL/mac.H index 31d23a83a..324a7bd00 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -129,6 +129,7 @@ public: Fl_X *next; // linked tree to support subwindows int wait_for_expose; NSCursor *cursor; + bool mapped_to_retina; // true when window is mapped to a retina display static Fl_X* first; static Fl_X* i(const Fl_Window* w) {return w->i;} static int fake_X_wm(const Fl_Window*,int&,int&,int&,int&,int&); -- cgit v1.2.3