summaryrefslogtreecommitdiff
path: root/src/Fl_Image.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-01-10 19:29:09 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-01-10 19:29:09 +0000
commit4bf5385fb14c5d4e0d4fb061b5ef1a79cb45389d (patch)
tree3900fd96ea1e3c1b343a00fbc04f1bb321c5f54f /src/Fl_Image.cxx
parent24f57a7aea2d98a47684103459170b2389f8ad5f (diff)
Update Fl_Image and friends so that we don't need to include the
system headers (which unfortunately are not too friendly with other code...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Image.cxx')
-rw-r--r--src/Fl_Image.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index eb9135ecf..4912eaf32 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.26 2002/12/19 21:34:25 easysw Exp $"
+// "$Id: Fl_Image.cxx,v 1.5.2.3.2.27 2003/01/10 19:29:09 easysw Exp $"
//
// Image drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -125,12 +125,12 @@ Fl_RGB_Image::~Fl_RGB_Image() {
void Fl_RGB_Image::uncache() {
if (id) {
- fl_delete_offscreen(id);
+ fl_delete_offscreen((Fl_Offscreen)id);
id = 0;
}
if (mask) {
- fl_delete_bitmask(mask);
+ fl_delete_bitmask((Fl_Bitmask)mask);
mask = 0;
}
}
@@ -310,7 +310,7 @@ void Fl_RGB_Image::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
if (H <= 0) return;
if (!id) {
id = fl_create_offscreen(w(), h());
- fl_begin_offscreen(id);
+ fl_begin_offscreen((Fl_Offscreen)id);
fl_draw_image(array, 0, 0, w(), h(), d(), ld());
fl_end_offscreen();
@@ -357,7 +357,7 @@ void Fl_RGB_Image::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
&src, &src, &dst);
#endif // 0
} else {
- fl_copy_offscreen(X, Y, W, H, id, cx, cy);
+ fl_copy_offscreen(X, Y, W, H, (Fl_Offscreen)id, cx, cy);
}
#else
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.26 2002/12/19 21:34:25 easysw Exp $".
+// End of "$Id: Fl_Image.cxx,v 1.5.2.3.2.27 2003/01/10 19:29:09 easysw Exp $".
//