Remove a few useless 'friend' statements.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2018-06-27 12:26:49 +00:00
parent 87d186d68c
commit 8473a71e48
6 changed files with 0 additions and 6 deletions

View File

@ -53,7 +53,6 @@ class Fl_RGB_Image;
class FL_EXPORT Fl_Window_Driver
{
friend class Fl_Window;
friend class Fl_X;
private:
static bool is_a_rescale_; // true when a top-level window is being rescaled

View File

@ -48,7 +48,6 @@ class Fl_Quartz_Font_Descriptor;
This class is implemented only on the Mac OS X platform.
*/
class Fl_Quartz_Graphics_Driver : public Fl_Graphics_Driver {
friend class Fl_Font_Descriptor;
friend class Fl_Cocoa_Printer_Driver;
friend class Fl_Quartz_Font_Descriptor;
protected:

View File

@ -27,7 +27,6 @@
#include <ApplicationServices/ApplicationServices.h>
class Fl_Quartz_Image_Surface_Driver : public Fl_Image_Surface_Driver {
friend class Fl_Image_Surface;
virtual void end_current_();
public:
Window pre_window;

View File

@ -53,7 +53,6 @@ struct Fl_Window_Driver::shape_data_type {
class FL_EXPORT Fl_WinAPI_Window_Driver : public Fl_Window_Driver
{
friend class Fl_Window;
struct icon_data {
const void *legacy_icon;
Fl_RGB_Image **icons;

View File

@ -57,7 +57,6 @@ struct Fl_Window_Driver::shape_data_type {
class FL_EXPORT Fl_X11_Window_Driver : public Fl_Window_Driver
{
friend class Fl_X;
friend class Fl_X11_Screen_Driver;
friend int fl_handle(const XEvent&);
private:

View File

@ -81,7 +81,6 @@ protected:
void drawUCS4(const void *str, int n, int x, int y);
#endif
#if USE_PANGO
friend class Fl_X11_Screen_Driver;
static PangoContext *pctxt_;
static PangoFontMap *pfmap_;
static PangoLayout *playout_;