add preset mask shapes, add ctr/nrml btns, new igor icons, enables apply to mask...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / maskauto.h
index 52c3401fa5d5c75df7deb192a13a5147482c5806..acc035c68b4eb6fdb6e1cf7b88225ebb1ca6d11b 100644 (file)
@@ -54,14 +54,14 @@ public:
 
        int operator==(SubMask& ptr);
        int equivalent(SubMask& ptr);
-       void copy_from(SubMask& ptr);
+       void copy_from(SubMask& ptr, int do_name=1);
        void load(FileXML *file);
        void copy(FileXML *file);
        void dump(FILE *fp);
 
        char name[BCSTRLEN];
-       float fader; // 0 - 100
-       float feather; // 0 - 100
+       float fader; // -100 - 100
+       float feather; // -100 - 100
        ArrayList<MaskPoint*> points;
        MaskAuto *keyframe;
 };
@@ -98,6 +98,7 @@ public:
        void translate_submasks(float translate_x, float translate_y);
 // scale all submasks
        void scale_submasks(int orig_scale, int new_scale);
+       int has_active_mask();
 
        ArrayList<SubMask*> masks;
        int apply_before_plugins;