Show the size of circles as they are drawn using the draw tool.
[synfig.git] / synfig-core / trunk / src / modules / mod_noise / distort.h
index 7777138..3958c2b 100644 (file)
@@ -1,6 +1,6 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file distort.h
-**     \brief Template Header
+**     \brief Header file for implementation of the "Noise Distort" layer
 **
 **     $Id$
 **
@@ -49,7 +49,7 @@ private:
        synfig::Vector size;
 
        Random random;
-       int smooth;
+       Random::SmoothType smooth;
        int detail;
        synfig::Real speed;
        bool turbulent;
@@ -73,9 +73,9 @@ public:
        virtual void set_time(synfig::Context context, synfig::Time time)const;
        virtual void set_time(synfig::Context context, synfig::Time time, const synfig::Point &point)const;
        virtual synfig::Rect get_bounding_rect(synfig::Context context)const;
-
        virtual Vocab get_param_vocab()const;
-};
+       virtual bool reads_context()const { return true; }
+}; // EOF of class NoiseDistort
 
 /* === E N D =============================================================== */