diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-06-27 04:29:39 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-06-27 04:29:39 +0000 |
| commit | 9c29ecde90d6c415ed842c5139937e73ebd2f274 (patch) | |
| tree | fe2094302ea5027b4d33a2c269050e824172145b /src/fl_draw_image_mac.cxx | |
| parent | 0d352d96eaa8c5a7115acceabf80a993a5f623f1 (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_draw_image_mac.cxx')
| -rw-r--r-- | src/fl_draw_image_mac.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fl_draw_image_mac.cxx b/src/fl_draw_image_mac.cxx index eaaf9bd74..867367dac 100644 --- a/src/fl_draw_image_mac.cxx +++ b/src/fl_draw_image_mac.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_draw_image_mac.cxx,v 1.1.2.3 2002/01/03 08:08:21 matthiaswm Exp $" +// "$Id: fl_draw_image_mac.cxx,v 1.1.2.4 2002/06/27 04:29:39 matthiaswm Exp $" // // MacOS image drawing code for the Fast Light Tool Kit (FLTK). // @@ -45,7 +45,7 @@ * buf: pointer to first byte in image source * x, y: position in buffer * w: width (in bytes?) - * dst: destinaation buffer + * dst: destination buffer * userdata: ? */ static void innards(const uchar *buf, int X, int Y, int W, int H, @@ -122,6 +122,7 @@ static void innards(const uchar *buf, int X, int Y, int W, int H, DisposeGWorld( gw ); } + // great. We were able to write the pixels directly into memory, so we can return now. if ( direct ) return; @@ -274,5 +275,5 @@ void fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b) { } // -// End of "$Id: fl_draw_image_mac.cxx,v 1.1.2.3 2002/01/03 08:08:21 matthiaswm Exp $". +// End of "$Id: fl_draw_image_mac.cxx,v 1.1.2.4 2002/06/27 04:29:39 matthiaswm Exp $". // |
