projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused define, clean and sort code.
[synfig.git]
/
synfig-core
/
src
/
synfig
/
value.h
diff --git
a/synfig-core/src/synfig/value.h
b/synfig-core/src/synfig/value.h
index
7079dba
..
eff65bb
100644
(file)
--- a/
synfig-core/src/synfig/value.h
+++ b/
synfig-core/src/synfig/value.h
@@
-28,17
+28,14
@@
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
-//#include "vector.h"
-//#include "time.h"
+#include "angle.h"
#include "segment.h"
#include "segment.h"
-//#include "color.h"
#include "string.h"
#include <list>
#include <vector>
#include <ETL/trivial>
#include <ETL/handle>
#include "general.h"
#include "string.h"
#include <list>
#include <vector>
#include <ETL/trivial>
#include <ETL/handle>
#include "general.h"
-//#include "gradient.h"
#include "blinepoint.h"
#include "exception.h"
#include "blinepoint.h"
#include "exception.h"
@@
-46,9
+43,6
@@
#include <OpenEXR/half.h>
#endif
#include <OpenEXR/half.h>
#endif
-#ifndef SYNFIG_NO_ANGLE
-#include "angle.h"
-#endif
#include <ETL/ref_count>
#include <ETL/ref_count>
@@
-349,10
+343,8
@@
public:
operator half()const { return get(Real()); }
#endif
operator half()const { return get(Real()); }
#endif
-#ifndef SYNFIG_NO_ANGLE
operator const Angle&()const { return get(Angle()); }
static Type get_type(const Angle&) { return TYPE_ANGLE; }
operator const Angle&()const { return get(Angle()); }
static Type get_type(const Angle&) { return TYPE_ANGLE; }
-#endif
template <class T>
operator std::list<T>()const
template <class T>
operator std::list<T>()const