diff options
| author | Manolo Gouy <Manolo> | 2015-06-10 10:32:09 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-06-10 10:32:09 +0000 |
| commit | d4081333979be37f0666a9c24acc745eb94582a8 (patch) | |
| tree | af7812c18dff6ba71fca964831b6db669f180bde | |
| parent | ca85f4a21e0b4311775be4c93863c0dba486170d (diff) | |
Mac OS: make Fl_Display_Device::high_resolution() private because it is not
intended to be part of the FLTK public API.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl_Device.H | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 3162255b9..4d506faec 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -578,18 +578,15 @@ class FL_EXPORT Fl_Display_Device : public Fl_Surface_Device { static Fl_Display_Device *_display; // the platform display device #ifdef __APPLE__ friend class Fl_X; -#endif -#if defined(__APPLE__) || defined(FL_DOXYGEN) + friend class Fl_Graphics_Driver; static bool high_res_window_; //< true when drawing to a window of a retina display (Mac OS X only) + static bool high_resolution() {return high_res_window_;} #endif public: static const char *class_id; const char *class_name() {return class_id;}; Fl_Display_Device(Fl_Graphics_Driver *graphics_driver); static Fl_Display_Device *display_device(); -#ifdef __APPLE__ - static bool high_resolution() {return high_res_window_;} -#endif }; /** |
