mirror of
https://github.com/fltk/fltk.git
synced 2026-05-26 18:17:03 +08:00
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:
+2
-5
@@ -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
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user