Make bitmap layer parameters to be able set static
[synfig.git] / synfig-core / src / synfig / layer_bitmap.h
index b62a93e..7578f8c 100644 (file)
@@ -50,11 +50,15 @@ public:
        Point tl;
        Point br;
        int c;
+       bool tl_static;
+       bool br_static;
+       bool c_static;
        mutable Surface surface;
        mutable bool trimmed;
        mutable unsigned int width, height, top, left;
 
        Real gamma_adjust;
+       bool gamma_adjust_static;
 
        Layer_Bitmap();
 
@@ -62,6 +66,9 @@ public:
 
        virtual ValueBase get_param(const String & param)const;
 
+       virtual bool set_param_static(const String &param, const bool x);
+       virtual bool get_param_static(const String &param) const;
+
        virtual Color get_color(Context context, const Point &pos)const;
 
        virtual Vocab get_param_vocab()const;