synfig-studio  1.0.3
activepointseton.h
Go to the documentation of this file.
1 /* === S Y N F I G ========================================================= */
21 /* ========================================================================= */
22 
23 /* === S T A R T =========================================================== */
24 
25 #ifndef __SYNFIG_APP_ACTION_ACTIVEPOINTSETON_H
26 #define __SYNFIG_APP_ACTION_ACTIVEPOINTSETON_H
27 
28 /* === H E A D E R S ======================================================= */
29 
30 #include <synfigapp/action.h>
31 #include <synfigapp/value_desc.h>
32 #include <synfig/valuenodes/valuenode_dynamiclist.h>
33 
34 #include <list>
35 #include <set>
36 
37 /* === M A C R O S ========================================================= */
38 
39 /* === T Y P E D E F S ===================================================== */
40 
41 /* === C L A S S E S & S T R U C T S ======================================= */
42 
43 namespace synfigapp {
44 
45 namespace Action {
46 
48  public Super
49 {
50 private:
51 
52  ValueDesc value_desc;
54  int index;
55  synfig::Activepoint activepoint;
56  bool time_set;
57 
58  void calc_activepoint();
59 
60 public:
61 
63 
64  static ParamVocab get_param_vocab();
65  static bool is_candidate(const ParamList &x);
66 
67  virtual bool set_param(const synfig::String& name, const Param &);
68  virtual bool is_ready()const;
69 
70  virtual void prepare();
71 
73 };
74 
75 }; // END of namespace action
76 }; // END of namespace studio
77 
78 /* === E N D =============================================================== */
79 
80 #endif