projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable Parameter Description for Linkable Value Nodes using ParamDesc class.
[synfig.git]
/
synfig-core
/
src
/
synfig
/
valuenode_greyed.cpp
diff --git
a/synfig-core/src/synfig/valuenode_greyed.cpp
b/synfig-core/src/synfig/valuenode_greyed.cpp
index
4e3536e
..
dacf05c
100644
(file)
--- a/
synfig-core/src/synfig/valuenode_greyed.cpp
+++ b/
synfig-core/src/synfig/valuenode_greyed.cpp
@@
-80,3
+80,16
@@
ValueNode_Greyed::get_local_name()const
{
return _("Greyed");
}
{
return _("Greyed");
}
+
+LinkableValueNode::Vocab
+ValueNode_Greyed::get_param_vocab()const
+{
+ LinkableValueNode::Vocab ret;
+
+ ret.push_back(ParamDesc(ValueBase(),"link")
+ .set_local_name(_("Link"))
+ .set_description(_("The greyed value"))
+ );
+
+ return ret;
+}