summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2002-06-27 04:29:39 +0000
committerMatthias Melcher <fltk@matthiasm.com>2002-06-27 04:29:39 +0000
commit9c29ecde90d6c415ed842c5139937e73ebd2f274 (patch)
treefe2094302ea5027b4d33a2c269050e824172145b /src/Fl_Pixmap.cxx
parent0d352d96eaa8c5a7115acceabf80a993a5f623f1 (diff)
MacOS:
Pixmap Draw fix: pixmap would always draw from 0, 0 gl_font implemented FL_FOCUS fix: would not send FL_FOCUS when window activated window classes fixed: modal() and non_modal() should work much better glut fix: uninitialised 'display' callback made glpuzzle crash Please send bug reports git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index 4444d5ae3..176d5293e 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.17 2002/04/26 11:32:37 easysw Exp $"
+// "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.18 2002/06/27 04:29:39 matthiaswm Exp $"
//
// Pixmap drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -107,10 +107,10 @@ void Fl_Pixmap::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
#elif defined(__APPLE__)
if (mask) {
Rect src, dst;
- src.left = 0; src.right = w();
- src.top = 0; src.bottom = h();
- dst.left = X; dst.right = X+w();
- dst.top = Y; dst.bottom = Y+h();
+ src.left = cx; src.right = cx+W;
+ src.top = cy; src.bottom = cy+H;
+ dst.left = X; dst.right = X+W;
+ dst.top = Y; dst.bottom = Y+H;
RGBColor rgb;
rgb.red = 0xffff; rgb.green = 0xffff; rgb.blue = 0xffff;
RGBBackColor(&rgb);
@@ -465,5 +465,5 @@ void Fl_Pixmap::desaturate() {
}
//
-// End of "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.17 2002/04/26 11:32:37 easysw Exp $".
+// End of "$Id: Fl_Pixmap.cxx,v 1.9.2.4.2.18 2002/06/27 04:29:39 matthiaswm Exp $".
//