summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-12-11 16:54:30 +0000
committerManolo Gouy <Manolo>2014-12-11 16:54:30 +0000
commit68a577e1f6cdb6fd1a60a2fff5ceb591fb53256a (patch)
treeb1dc2e0171d9ef917f72d5771a1d1c67acc47170 /FL/mac.H
parent2d0670104bc677be9875840a8d1a32753d1c1c41 (diff)
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
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H1
1 files changed, 1 insertions, 0 deletions
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&);