diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-11 12:02:36 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-11 12:02:36 +0000 |
| commit | 50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 (patch) | |
| tree | 4b62978d21ee57df7027461b8ea2846c17308d11 /src/fl_draw_pixmap.cxx | |
| parent | a3c0dac034c919c2714f3f129a9f5d9d26ae3de4 (diff) | |
Mark places that need to be refactored with // PORTME:
Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_draw_pixmap.cxx')
| -rw-r--r-- | src/fl_draw_pixmap.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx index a5b29e4b7..0d2b35d1f 100644 --- a/src/fl_draw_pixmap.cxx +++ b/src/fl_draw_pixmap.cxx @@ -38,7 +38,7 @@ #include <stdio.h> #include "flstring.h" -#if defined(WIN32) || defined(__APPLE__) +#if defined(WIN32) || defined(__APPLE__) // PORTME: 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__ +#ifdef __APPLE_QUARTZ__ // PORTME: 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__ +#endif // __APPLE_QUARTZ__ // PORTME: 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__ +#ifdef __APPLE_QUARTZ__ // PORTME: platform pixmap } #endif delete[] buffer; |
