|
|
commit b7ce83c02bbdd211c4c5c7f4b927e414e0c9976e
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Nov 30 16:11:32 2022 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Nov 30 16:11:32 2022 +0100
Remove superfluous friend declarations from class Fl_Graphics_Driver
FL/Fl_Graphics_Driver.H | 4 ----
1 file changed, 4 deletions(-)
diff --git FL/Fl_Graphics_Driver.H FL/Fl_Graphics_Driver.H
index e131a29..b9db1d2 100644
--- FL/Fl_Graphics_Driver.H
+++ FL/Fl_Graphics_Driver.H
@@ -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)
[ Direct Link to Message ] | |
|
| |