projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use a specialised parser for <composite> valuenodes - use the same as for all...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
layer_polygon.cpp
diff --git
a/synfig-core/trunk/src/synfig/layer_polygon.cpp
b/synfig-core/trunk/src/synfig/layer_polygon.cpp
index
8e08104
..
a6b4ccb
100644
(file)
--- a/
synfig-core/trunk/src/synfig/layer_polygon.cpp
+++ b/
synfig-core/trunk/src/synfig/layer_polygon.cpp
@@
-1,8
+1,8
@@
/* === S Y N F I G ========================================================= */
/*! \file layer_polygon.cpp
/* === S Y N F I G ========================================================= */
/*! \file layer_polygon.cpp
-** \brief
Template Head
er
+** \brief
Implementation of the "Polygon" lay
er
**
**
-** $Id
: layer_polygon.cpp,v 1.1.1.1 2005/01/04 01:23:14 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-56,10
+56,10
@@
using namespace etl;
SYNFIG_LAYER_INIT(Layer_Polygon);
SYNFIG_LAYER_SET_NAME(Layer_Polygon,"polygon");
SYNFIG_LAYER_INIT(Layer_Polygon);
SYNFIG_LAYER_SET_NAME(Layer_Polygon,"polygon");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,_("Polygon"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,
N
_("Polygon"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,
N
_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Layer_Polygon,"0.1");
SYNFIG_LAYER_SET_VERSION(Layer_Polygon,"0.1");
-SYNFIG_LAYER_SET_CVS_ID(Layer_Polygon,"$Id
: layer_polygon.cpp,v 1.1.1.1 2005/01/04 01:23:14 darco Exp
$");
+SYNFIG_LAYER_SET_CVS_ID(Layer_Polygon,"$Id$");
/* === C L A S S E S ======================================================= */
/* === C L A S S E S ======================================================= */
@@
-106,7
+106,7
@@
Layer_Polygon::sync()
}
void
}
void
-Layer_Polygon::add_polygon(const vector<Point> &point_list)
+Layer_Polygon::add_polygon(const
std::
vector<Point> &point_list)
{
int i,pointcount=point_list.size();
{
int i,pointcount=point_list.size();
@@
-139,7
+139,7
@@
Layer_Polygon::clear()
bool
Layer_Polygon::set_param(const String & param, const ValueBase &value)
{
bool
Layer_Polygon::set_param(const String & param, const ValueBase &value)
{
- if( param=="vector_list" && value.same_as(vector_list))
+ if( param=="vector_list" && value.same_
type_
as(vector_list))
{
vector_list=value;
Layer_Shape::clear();
{
vector_list=value;
Layer_Shape::clear();