Remove superfluous friend declarations from class Fl_Graphics_Driver

This commit is contained in:
ManoloFLTK 2022-11-30 16:11:32 +01:00
parent 1b0754ce4d
commit b7ce83c02b
1 changed files with 0 additions and 4 deletions

View File

@ -76,9 +76,6 @@ typedef struct _PangoFontDescription PangoFontDescription;
*/
class FL_EXPORT Fl_Graphics_Driver {
friend class Fl_Surface_Device;
friend class Fl_Display_Device;
friend class Fl_Screen_Driver;
friend class Fl_Window_Driver;
friend class Fl_Pixmap;
friend class Fl_Bitmap;
friend class Fl_RGB_Image;
@ -90,7 +87,6 @@ class FL_EXPORT Fl_Graphics_Driver {
friend void fl_copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy);
friend int fl_convert_pixmap(const char*const* cdata, uchar* out, Fl_Color bg);
friend FL_EXPORT void gl_start();
friend FL_EXPORT void gl_finish();
/* ============== Implementation note about image drawing =========================
A graphics driver can implement up to 6 virtual member functions to draw images:
virtual void draw_pixmap(Fl_Pixmap *pxm,int XP, int YP, int WP, int HP, int cx, int cy)