Add LayerParamSetStatic and LayerParamUnSetStatic actions.
[synfig.git] / synfig-core / src / synfig / value.cpp
index e5ef475..f9a41b7 100644 (file)
@@ -57,14 +57,15 @@ using namespace etl;
 
 /* === M E T H O D S ======================================================= */
 
-ValueBase::ValueBase():type(TYPE_NIL),data(0),ref_count(0),loop_(0)
+ValueBase::ValueBase():type(TYPE_NIL),data(0),ref_count(0),loop_(0),static_(0)
 {
 }
 
 ValueBase::ValueBase(Type x):
        type(x),
        data(0),
-       loop_(0)
+       loop_(0),
+       static_(0)
 {
        switch(type)
        {
@@ -216,6 +217,7 @@ ValueBase::operator=(const ValueBase& x)
                ref_count=x.ref_count;
        }
        loop_=x.loop_;
+       static_=x.static_;
        return *this;
 }
 
@@ -264,33 +266,33 @@ ValueBase::type_name(Type id)
        // don't internationalize these type names - they're using in .sif files
        switch(id)
        {
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_BOOL:                 return N_("bool");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_INTEGER:              return N_("integer");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_ANGLE:                return N_("angle");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_TIME:                 return N_("time");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_REAL:                 return N_("real");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_VECTOR:               return N_("vector");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_COLOR:                return N_("color");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_SEGMENT:              return N_("segment");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_BLINEPOINT:   return N_("bline_point");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_LIST:                 return N_("list");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_CANVAS:               return N_("canvas");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_STRING:               return N_("string");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_GRADIENT:             return N_("gradient");
-               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/Types */
+               /* TRANSLATORS: this is the name of a type -- see http://synfig.org/wiki/Dev:Types */
        case TYPE_NIL:                  return N_("nil");
        default:
                break;