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
This commit is contained in:
Manolo Gouy
2015-06-10 10:32:09 +00:00
parent ca85f4a21e
commit d408133397
+2 -5
View File
@@ -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
};
/**