summaryrefslogtreecommitdiff
path: root/FL/Fl_Image.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Image.H')
-rw-r--r--FL/Fl_Image.H16
1 files changed, 10 insertions, 6 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H
index cbae6c89c..d51cfadb0 100644
--- a/FL/Fl_Image.H
+++ b/FL/Fl_Image.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Image.H,v 1.5.2.3.2.16 2002/10/11 14:17:20 easysw Exp $"
+// "$Id: Fl_Image.H,v 1.5.2.3.2.17 2003/01/10 19:29:07 easysw Exp $"
//
// Image header file for the Fast Light Tool Kit (FLTK).
//
@@ -26,10 +26,9 @@
#ifndef Fl_Image_H
# define Fl_Image_H
-# include "x.H"
-
class Fl_Widget;
struct Fl_Menu_Item;
+struct Fl_Label;
class FL_EXPORT Fl_Image {
int w_, h_, d_, ld_, count_;
@@ -80,8 +79,13 @@ class FL_EXPORT Fl_RGB_Image : public Fl_Image {
const uchar *array;
int alloc_array; // Non-zero if array was allocated
- Fl_Offscreen id; // for internal use
- Fl_Bitmask mask; // for internal use (mask bitmap)
+#ifdef __APPLE__
+ void *id; // for internal use
+ void *mask; // for internal use (mask bitmap)
+#else
+ unsigned id; // for internal use
+ unsigned mask; // for internal use (mask bitmap)
+#endif //
Fl_RGB_Image(const uchar *bits, int W, int H, int D=3, int LD=0) :
Fl_Image(W,H,D), array(bits), alloc_array(0), id(0), mask(0) {data((const char **)&array, 1); ld(LD);}
@@ -100,5 +104,5 @@ class FL_EXPORT Fl_RGB_Image : public Fl_Image {
#endif // !Fl_Image_H
//
-// End of "$Id: Fl_Image.H,v 1.5.2.3.2.16 2002/10/11 14:17:20 easysw Exp $".
+// End of "$Id: Fl_Image.H,v 1.5.2.3.2.17 2003/01/10 19:29:07 easysw Exp $".
//