diff options
| author | Manolo Gouy <Manolo> | 2012-03-12 11:55:50 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2012-03-12 11:55:50 +0000 |
| commit | f6cb583e27ffd6046da7a28edc35fc8001ea9415 (patch) | |
| tree | 6ebefa26d9d18394f37cce530e30e86392624ea3 /src/Fl_Pixmap.cxx | |
| parent | 4715e1593ede95a320f618c026bd8c886163755a (diff) | |
Replaced fl_copy_offscreen_with_alpha() by Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha() and
fl_create_offscreen_with_alpha() by Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Pixmap.cxx')
| -rw-r--r-- | src/Fl_Pixmap.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx index d77212822..4b76c5e0d 100644 --- a/src/Fl_Pixmap.cxx +++ b/src/Fl_Pixmap.cxx @@ -3,7 +3,7 @@ // // Pixmap drawing code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2012 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -48,10 +48,6 @@ extern void fl_release_dc(HWND, HDC); // located in Fl_win32.cxx #endif -#ifdef __APPLE_QUARTZ__ -extern Fl_Offscreen fl_create_offscreen_with_alpha(int w, int h); -#endif - extern uchar **fl_mask_bitmap; // used by fl_draw_pixmap.cxx to store mask void fl_restore_clip(); // in fl_rect.cxx @@ -106,7 +102,7 @@ void Fl_Quartz_Graphics_Driver::draw(Fl_Pixmap *pxm, int XP, int YP, int WP, int return; } if (!pxm->id_) { - pxm->id_ = fl_create_offscreen_with_alpha(pxm->w(), pxm->h()); + pxm->id_ = create_offscreen_with_alpha(pxm->w(), pxm->h()); fl_begin_offscreen((Fl_Offscreen)pxm->id_); fl_draw_pixmap(pxm->data(), 0, 0, FL_GREEN); fl_end_offscreen(); |
