mirror of https://github.com/fltk/fltk
Remove superfluous friend declarations from class Fl_Graphics_Driver
This commit is contained in:
parent
1b0754ce4d
commit
b7ce83c02b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue