From 5d1df0e789c794b8040c5db0d84b03ae2b42fd8d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 13 Feb 2016 12:57:00 +0000 Subject: Details on PORTME items. Move fl_parse_color() to screen drivers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_draw_pixmap.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fl_draw_pixmap.cxx') diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx index 0d2b35d1f..2c347115b 100644 --- a/src/fl_draw_pixmap.cxx +++ b/src/fl_draw_pixmap.cxx @@ -38,7 +38,7 @@ #include #include "flstring.h" -#if defined(WIN32) || defined(__APPLE__) // PORTME: platform pixmap +#if defined(WIN32) || defined(__APPLE__) // PORTME: Fl_Graphics_Driver - platform pixmap #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement platform specific about pixmap drawing here" #else @@ -256,7 +256,7 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) { } // FIXME: Hack until fl_draw_image() supports alpha properly -#ifdef __APPLE_QUARTZ__ // PORTME: platform pixmap +#ifdef __APPLE_QUARTZ__ // PORTME: Fl_Graphics_Driver - platform pixmap if (Fl_Surface_Device::surface() == Fl_Display_Device::display_device()) { Fl_RGB_Image* rgb = new Fl_RGB_Image(buffer, w, h, 4); rgb->alloc_array = 1; @@ -264,7 +264,7 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) { delete rgb; return 1; } else { -#endif // __APPLE_QUARTZ__ // PORTME: platform pixmap +#endif // __APPLE_QUARTZ__ // PORTME: Fl_Graphics_Driver - platform pixmap // build the mask bitmap used by Fl_Pixmap: if (fl_mask_bitmap) { int W = (w+7)/8; @@ -289,7 +289,7 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) { fl_draw_image(buffer, x, y, w, h, 4); -#ifdef __APPLE_QUARTZ__ // PORTME: platform pixmap +#ifdef __APPLE_QUARTZ__ // PORTME: Fl_Graphics_Driver - platform pixmap } #endif delete[] buffer; -- cgit v1.2.3