projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suit a better way to set/get static parameter option and to fill the static option.
[synfig.git]
/
synfig-core
/
src
/
synfig
/
layer.h
diff --git
a/synfig-core/src/synfig/layer.h
b/synfig-core/src/synfig/layer.h
index
19faddb
..
46657f0
100644
(file)
--- a/
synfig-core/src/synfig/layer.h
+++ b/
synfig-core/src/synfig/layer.h
@@
-273,7
+273,6
@@
private:
float z_depth;
//! True if zdepth is not affected when in animation mode
float z_depth;
//! True if zdepth is not affected when in animation mode
- //bool z_depth_static;
typedef std::map<String, bool> Sparams;
Sparams static_params;
typedef std::map<String, bool> Sparams;
Sparams static_params;
@@
-472,6
+471,7
@@
public:
virtual bool set_param_static(const String ¶m, const bool x);
virtual bool get_param_static(const String ¶m) const;
virtual bool set_param_static(const String ¶m, const bool x);
virtual bool get_param_static(const String ¶m) const;
+ virtual void fill_static(Vocab vocab);
//! Sets a list of parameters
virtual bool set_param_list(const ParamList &);
//! Sets a list of parameters
virtual bool set_param_list(const ParamList &);