projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revision 678 included <iostream> in color.h. This added a couple of megabytes to...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
color.h
diff --git
a/synfig-core/trunk/src/synfig/color.h
b/synfig-core/trunk/src/synfig/color.h
index
447bd56
..
a5455c1
100644
(file)
--- a/
synfig-core/trunk/src/synfig/color.h
+++ b/
synfig-core/trunk/src/synfig/color.h
@@
-28,11
+28,6
@@
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
-#include <iostream>
-#include <iomanip>
-#include <sstream>
-#include <string>
-
//#include <cmath>
#include <math.h>
#include <cassert>
//#include <cmath>
#include <math.h>
#include <cassert>
@@
-115,12
+110,7
@@
private:
public:
public:
- inline const String get_string(void)const
- {
- std::ostringstream o;
- o << std::fixed << std::setprecision(3) << "#" << get_hex() << " : " << std::setw(6) << a_;
- return String(o.str().c_str());
- }
+ const String get_string(void)const;
Color &
operator+=(const Color &rhs)
Color &
operator+=(const Color &rhs)