synfig-studio  1.0.3
layerparamunsetstatic.h
Go to the documentation of this file.
1 /* === S Y N F I G ========================================================= */
22 /* ========================================================================= */
23 
24 /* === S T A R T =========================================================== */
25 
26 #ifndef __SYNFIG_APP_ACTION_LAYERPARAMUNSETSTATIC_H
27 #define __SYNFIG_APP_ACTION_LAYERPARAMUNSETSTATIC_H
28 
29 /* === H E A D E R S ======================================================= */
30 
31 #include <synfig/layer.h>
32 #include <synfigapp/action.h>
33 
34 /* === M A C R O S ========================================================= */
35 
36 /* === T Y P E D E F S ===================================================== */
37 
38 /* === C L A S S E S & S T R U C T S ======================================= */
39 
40 namespace synfigapp {
41 
42 class Instance;
43 
44 namespace Action {
45 
47  public Undoable,
48  public CanvasSpecific
49 {
50 private:
51 
53  synfig::String param_name;
54  bool old_static_value;
55 
56 public:
57 
59 
60  static ParamVocab get_param_vocab();
61  static bool is_candidate(const ParamList &x);
62 
63  virtual bool set_param(const synfig::String& name, const Param &);
64  virtual bool is_ready()const;
65 
66  virtual void perform();
67  virtual void undo();
68 
70 };
71 
72 }; // END of namespace action
73 }; // END of namespace studio
74 
75 /* === E N D =============================================================== */
76 
77 #endif