summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-31 21:47:25 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-31 21:47:25 +0000
commit5638a5f47120b383bd4e7e7f8ee60bb78a69f9b7 (patch)
tree8320d09137e27b0e18fa372409614c7c6dccad13 /src
parent86abe14361302b217a37d0b13032c79e853cf46a (diff)
Just cleaning up a few lines.
Removed a false comment I just added. Removed FL_PORTING ifdef that is no longer needed git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Bitmap.cxx4
-rw-r--r--src/fl_rect.cxx6
2 files changed, 0 insertions, 10 deletions
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx
index 27526a04a..4d3627515 100644
--- a/src/Fl_Bitmap.cxx
+++ b/src/Fl_Bitmap.cxx
@@ -171,8 +171,6 @@ int Fl_Bitmap::start(int XP, int YP, int WP, int HP, int &cx, int &cy,
if (!id_) id_ = fl_create_bitmask(w(), h(), array);
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: call the right function to create a bitmap"
-#else
- // TODO: please insert comment, explaining why we don;t need a bitmap here for X11
#endif
return 0;
}
@@ -194,8 +192,6 @@ void Fl_Bitmap::uncache() {
fl_delete_bitmask((Fl_Offscreen)id_);
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: call the right function to create a bitmask"
-#else
- // TODO: please insert comment, explaining why we don;t need a bitmap here for X11
#endif
id_ = 0;
}
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx
index 3fddf9388..f5b3d0af4 100644
--- a/src/fl_rect.cxx
+++ b/src/fl_rect.cxx
@@ -34,12 +34,6 @@
#include <FL/fl_draw.H>
#include <FL/x.H>
-#if defined(WIN32) || defined(__APPLE__)
-#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement all the line drawing functions below"
-#else
-#endif
-
// -----------------------------------------------------------------------------
// all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx
// -----------------------------------------------------------------------------