summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/gl.h11
-rw-r--r--FL/mac.H6
-rw-r--r--FL/mac.r13
3 files changed, 11 insertions, 19 deletions
diff --git a/FL/gl.h b/FL/gl.h
index d4102a259..d99cbd45f 100644
--- a/FL/gl.h
+++ b/FL/gl.h
@@ -1,5 +1,5 @@
//
-// "$Id: gl.h,v 1.6.2.4 2001/01/22 15:13:38 easysw Exp $"
+// "$Id: gl.h,v 1.6.2.4.2.1 2001/12/06 00:17:47 matthiaswm Exp $"
//
// OpenGL header file for the Fast Light Tool Kit (FLTK).
//
@@ -44,7 +44,12 @@
# define APIENTRY
# endif
#endif
-#include <GL/gl.h>
+
+#ifdef __APPLE__
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
FL_EXPORT void gl_start();
FL_EXPORT void gl_finish();
@@ -76,5 +81,5 @@ FL_EXPORT void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, in
#endif
//
-// End of "$Id: gl.h,v 1.6.2.4 2001/01/22 15:13:38 easysw Exp $".
+// End of "$Id: gl.h,v 1.6.2.4.2.1 2001/12/06 00:17:47 matthiaswm Exp $".
//
diff --git a/FL/mac.H b/FL/mac.H
index 4aa179947..4eeadf3b4 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -1,5 +1,5 @@
//
-// "$Id: mac.H,v 1.1.2.1 2001/11/27 17:44:06 easysw Exp $"
+// "$Id: mac.H,v 1.1.2.2 2001/12/06 00:17:47 matthiaswm Exp $"
//
// Mac header file for the Fast Light Tool Kit (FLTK).
//
@@ -108,7 +108,7 @@ extern void fl_delete_offscreen(Fl_Offscreen gWorld);
extern void fl_begin_offscreen(Fl_Offscreen gWorld);
extern void fl_end_offscreen();
-typedef GrafPtr Fl_Bitmask;
+typedef GWorldPtr Fl_Bitmask; // Carbon requires a 1-bit GWorld instead of a BitMap
extern FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *data);
extern FL_EXPORT void fl_delete_bitmask(Fl_Bitmask bm);
@@ -120,6 +120,6 @@ extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b)
#endif // !FL_MAC_H
//
-// End of "$Id: mac.H,v 1.1.2.1 2001/11/27 17:44:06 easysw Exp $".
+// End of "$Id: mac.H,v 1.1.2.2 2001/12/06 00:17:47 matthiaswm Exp $".
//
diff --git a/FL/mac.r b/FL/mac.r
index ef7d54eeb..3d71f2ebb 100644
--- a/FL/mac.r
+++ b/FL/mac.r
@@ -8,19 +8,6 @@ data 'MENU' (128, "Apple") {
$"2D00 0000 0000" /* -..... */
};
-data 'cfrg' (0) {
- $"0000 0000 0000 0000 0000 0001 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0000 0000 0000 0001" /* ................ */
- $"7077 7063 0000 0000 0000 0000 0000 0000" /* pwpc............ */
- $"0001 0000 0000 0101 0000 0000 0000 0000" /* ................ */
- $"0000 0000 0000 0000 0034 0662 7574 746F" /* .........4.butto */
- $"6E00 0000" /* n... */
-};
-
-data 'SIZE' (-1) {
- $"58C0 0006 0000 0006 0000" /* XÀ........ */
-};
-
data 'carb' (0) {
};