diff options
| author | Manolo Gouy <Manolo> | 2014-12-11 16:54:30 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-12-11 16:54:30 +0000 |
| commit | 68a577e1f6cdb6fd1a60a2fff5ceb591fb53256a (patch) | |
| tree | b1dc2e0171d9ef917f72d5771a1d1c67acc47170 /FL | |
| parent | 2d0670104bc677be9875840a8d1a32753d1c1c41 (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')
| -rw-r--r-- | FL/mac.H | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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&); |
