From d4081333979be37f0666a9c24acc745eb94582a8 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 10 Jun 2015 10:32:09 +0000 Subject: 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 --- FL/Fl_Device.H | 7 ++----- 1 file 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 }; /** -- cgit v1.2.3