summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan MacArthur <imacarthur@gmail.com>2014-05-01 22:04:26 +0000
committerIan MacArthur <imacarthur@gmail.com>2014-05-01 22:04:26 +0000
commit7278f1ac3720de57407c4033c8bb7fa16f261000 (patch)
treebe9ce4f50b6710b0b02821761295a8dee9c4d3df
parentab220c131a713cff2210fd43b49ec3b48541b2ba (diff)
Modify fl_gleam.cxx to experimentally remove
an inclde of <iostreams> and a call to "using namespace std;" that appear to be unnecessary in this code. Also add the svn $Id$ lines, which appear to have been missing before. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/fl_gleam.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/fl_gleam.cxx b/src/fl_gleam.cxx
index 2c9fe786a..6b410fd55 100644
--- a/src/fl_gleam.cxx
+++ b/src/fl_gleam.cxx
@@ -1,4 +1,6 @@
//
+// "$Id$"
+//
// "Gleam" drawing routines for the Fast Light Tool Kit (FLTK).
//
// Copyright 1998-2010 by Bill Spitzak and others.
@@ -25,9 +27,11 @@
#include <FL/Fl.H>
#include <FL/fl_draw.H>
-#include <iostream>
+//#include <iostream>
+
+//using namespace std;
-using namespace std;
+#define min(A,B) ((A) < (B) ? (A) : (B))
static void gleam_color(Fl_Color c) {
if (Fl::draw_box_active()) fl_color(c);
@@ -129,3 +133,9 @@ Fl_Boxtype fl_define_FL_GLEAM_UP_BOX() {
fl_internal_boxtype(_FL_GLEAM_ROUND_DOWN_BOX, down_box);
return _FL_GLEAM_UP_BOX;
}
+
+
+//
+// End of "$Id$".
+//
+