summaryrefslogtreecommitdiff
path: root/FL/Fl_Image.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-11-02 21:08:15 +0000
committerManolo Gouy <Manolo>2016-11-02 21:08:15 +0000
commitd3f1a3c167954a4c874162ed4986a2235109ac33 (patch)
treebfa8483e0ddf24ca20678e6a9eae80cc879e6c33 /FL/Fl_Image.H
parent5c2a7d9fed465403758edda57acc59a4879cae56 (diff)
Replace declarations such as "friend class Fl_Xlib_Graphics_Driver;" by platform-independent declarations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12076 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Image.H')
-rw-r--r--FL/Fl_Image.H7
1 files changed, 2 insertions, 5 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H
index 09d84a6de..4e0663bfd 100644
--- a/FL/Fl_Image.H
+++ b/FL/Fl_Image.H
@@ -55,7 +55,7 @@ enum Fl_RGB_Scaling {
a box with an X in it being drawn instead.
*/
class FL_EXPORT Fl_Image {
-
+ friend class Fl_Graphics_Driver;
public:
static const int ERR_NO_IMAGE = -1;
static const int ERR_FILE_ACCESS = -2;
@@ -208,10 +208,7 @@ public:
&lt;FL/Fl_RGB_Image.H&gt; should be included.
*/
class FL_EXPORT Fl_RGB_Image : public Fl_Image {
- friend class Fl_Quartz_Graphics_Driver;
- friend class Fl_GDI_Graphics_Driver;
- friend class Fl_GDI_Printer_Graphics_Driver;
- friend class Fl_Xlib_Graphics_Driver;
+ friend class Fl_Graphics_Driver;
static size_t max_size_;
public: