From f6cb583e27ffd6046da7a28edc35fc8001ea9415 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 12 Mar 2012 11:55:50 +0000 Subject: 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 --- src/Fl_Pixmap.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/Fl_Pixmap.cxx') 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(); -- cgit v1.2.3