diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-27 22:35:58 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-27 22:35:58 +0000 |
| commit | 780f43a4f14f56678c503fa279517c418b697877 (patch) | |
| tree | fdb76e5f5b0b47ca652b497e5c096d60d0a67c54 /src/Fl_Bitmap.cxx | |
| parent | 6177c23d901c8748fd908b3bd1106b403f017d7f (diff) | |
Removed all references to Quartz driver files from library headers in Xcode. Works in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Bitmap.cxx')
| -rw-r--r-- | src/Fl_Bitmap.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx index 52add9f97..0c64cc4da 100644 --- a/src/Fl_Bitmap.cxx +++ b/src/Fl_Bitmap.cxx @@ -275,18 +275,6 @@ int Fl_Bitmap::start(int XP, int YP, int WP, int HP, int &cx, int &cy, } #ifdef __APPLE__ -void Fl_Quartz_Graphics_Driver::draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) { - int X, Y, W, H; - if (bm->start(XP, YP, WP, HP, cx, cy, X, Y, W, H)) { - return; - } - if (bm->id_ && fl_gc) { - CGRect rect = { { (CGFloat)X, (CGFloat)Y }, { (CGFloat)W, (CGFloat)H } }; - Fl_X::q_begin_image(rect, cx, cy, bm->w(), bm->h()); - CGContextDrawImage(fl_gc, rect, (CGImageRef)bm->id_); - Fl_X::q_end_image(); - } -} #elif defined(WIN32) void Fl_GDI_Graphics_Driver::draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) { |
