summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Device.H7
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
};
/**