summaryrefslogtreecommitdiff
path: root/src/fl_overlay.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
commit50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 (patch)
tree4b62978d21ee57df7027461b8ea2846c17308d11 /src/fl_overlay.cxx
parenta3c0dac034c919c2714f3f129a9f5d9d26ae3de4 (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_overlay.cxx')
-rw-r--r--src/fl_overlay.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_overlay.cxx b/src/fl_overlay.cxx
index e87c2bff2..5962bb1fe 100644
--- a/src/fl_overlay.cxx
+++ b/src/fl_overlay.cxx
@@ -23,7 +23,7 @@
#include <FL/x.H>
#include <FL/fl_draw.H>
-#ifdef __APPLE__
+#ifdef __APPLE__ // PORTME: platform overlay
#include <config.h>
#endif
@@ -48,7 +48,7 @@ static void draw_current_rect() {
int old = SetROP2(fl_gc, R2_NOT);
fl_rect(px, py, pw, ph);
SetROP2(fl_gc, old);
-# elif defined(__APPLE_QUARTZ__)
+# elif defined(__APPLE_QUARTZ__) // PORTME: platform overlay
// warning: Quartz does not support xor drawing
// Use the Fl_Overlay_Window instead.
fl_color(FL_WHITE);
@@ -81,7 +81,7 @@ static void draw_current_rect() {
static void erase_current_rect() {
#ifdef USE_XOR
-# ifdef __APPLE_QUARTZ__
+# ifdef __APPLE_QUARTZ__ // PORTME: platform overlay
fl_rect(px, py, pw, ph);
# else
draw_current_rect();