summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-01-15 19:41:58 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-01-15 19:41:58 +0000
commit4fb89e2571c12273e68b1624e2b110049dcaab12 (patch)
tree4d6d1bc5002a48070f5e2371fbd70e8da4b5420f /src
parente695187237e0ce9f2ec366599764819b8ae61315 (diff)
Fix build problems on Windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Image.cxx6
-rw-r--r--src/Fl_Pixmap.cxx6
-rw-r--r--src/fl_line_style.cxx5
3 files changed, 9 insertions, 8 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index 4912eaf32..32a48ae34 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Image.cxx,v 1.5.2.3.2.27 2003/01/10 19:29:09 easysw Exp $"
+// "$Id: Fl_Image.cxx,v 1.5.2.3.2.28 2003/01/15 19:41:58 easysw Exp $"
//
// Image drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -327,7 +327,7 @@ void Fl_RGB_Image::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
BitBlt(fl_gc, X, Y, W, H, new_gc, cx, cy, SRCPAINT);
DeleteDC(new_gc);
} else {
- fl_copy_offscreen(X, Y, W, H, id, cx, cy);
+ fl_copy_offscreen(X, Y, W, H, (Fl_Offscreen)id, cx, cy);
}
#elif defined(__APPLE__)
if (mask) {
@@ -392,5 +392,5 @@ void Fl_RGB_Image::label(Fl_Menu_Item* m) {
//
-// End of "$Id: Fl_Image.cxx,v 1.5.2.3.2.27 2003/01/10 19:29:09 easysw Exp $".
+// End of "$Id: Fl_Image.cxx,v 1.5.2.3.2.28 2003/01/15 19:41:58 easysw Exp $".
//
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index 37e04d4e1..81de9f210 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.25 2003/01/10 19:29:09 easysw Exp $"
+// "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.26 2003/01/15 19:41:58 easysw Exp $"
//
// Pixmap drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -102,7 +102,7 @@ void Fl_Pixmap::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
BitBlt(fl_gc, X, Y, W, H, new_gc, cx, cy, SRCPAINT);
DeleteDC(new_gc);
} else {
- fl_copy_offscreen(X, Y, W, H, id, cx, cy);
+ fl_copy_offscreen(X, Y, W, H, (Fl_Offscreen)id, cx, cy);
}
#elif defined(__APPLE__)
if (mask) {
@@ -461,5 +461,5 @@ void Fl_Pixmap::desaturate() {
}
//
-// End of "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.25 2003/01/10 19:29:09 easysw Exp $".
+// End of "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.26 2003/01/15 19:41:58 easysw Exp $".
//
diff --git a/src/fl_line_style.cxx b/src/fl_line_style.cxx
index 135bfe625..9da2c5d18 100644
--- a/src/fl_line_style.cxx
+++ b/src/fl_line_style.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_line_style.cxx,v 1.3.2.3.2.11 2003/01/12 14:49:33 easysw Exp $"
+// "$Id: fl_line_style.cxx,v 1.3.2.3.2.12 2003/01/15 19:41:58 easysw Exp $"
//
// Line style code for the Fast Light Tool Kit (FLTK).
//
@@ -23,6 +23,7 @@
// Please report all bugs and problems to "fltk-bugs@fltk.org".
//
+#include <FL/Fl.H>
#include <FL/fl_draw.H>
#include <FL/x.H>
#include "flstring.h"
@@ -103,5 +104,5 @@ void fl_line_style(int style, int width, char* dashes) {
//
-// End of "$Id: fl_line_style.cxx,v 1.3.2.3.2.11 2003/01/12 14:49:33 easysw Exp $".
+// End of "$Id: fl_line_style.cxx,v 1.3.2.3.2.12 2003/01/15 19:41:58 easysw Exp $".
//