From 25b4076b0376a924eb6c83f03f72e13e2f979d15 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 26 Apr 2016 05:44:54 +0000 Subject: Set more accurately the protections of the members of class Fl_Display_Device. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Device.H | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 58c02a29e..22328ddd9 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -77,14 +77,11 @@ public: /** A display to which the computer can draw. - When the program begins running, an Fl_Display_Device instance has been created and made the current drawing surface. - There is no need to create any other object of this class. + When the program begins running, an object of class Fl_Display_Device has been created and made the current drawing surface. */ class FL_EXPORT Fl_Display_Device : public Fl_Surface_Device { - friend class Fl_Graphics_Driver; - static Fl_Display_Device *_display; // the platform display device -public: Fl_Display_Device(Fl_Graphics_Driver *graphics_driver); +public: static Fl_Display_Device *display_device(); static bool high_resolution(); }; -- cgit v1.2.3