mirror of https://github.com/fltk/fltk
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
This commit is contained in:
parent
ab220c131a
commit
7278f1ac37
|
@ -1,4 +1,6 @@
|
||||||
//
|
//
|
||||||
|
// "$Id$"
|
||||||
|
//
|
||||||
// "Gleam" drawing routines for the Fast Light Tool Kit (FLTK).
|
// "Gleam" drawing routines for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
// Copyright 1998-2010 by Bill Spitzak and others.
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
||||||
|
@ -25,9 +27,11 @@
|
||||||
|
|
||||||
#include <FL/Fl.H>
|
#include <FL/Fl.H>
|
||||||
#include <FL/fl_draw.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) {
|
static void gleam_color(Fl_Color c) {
|
||||||
if (Fl::draw_box_active()) 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);
|
fl_internal_boxtype(_FL_GLEAM_ROUND_DOWN_BOX, down_box);
|
||||||
return _FL_GLEAM_UP_BOX;
|
return _FL_GLEAM_UP_BOX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// End of "$Id$".
|
||||||
|
//
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue