1 /* === S Y N F I G ========================================================= */
2 /*! \file valuenode_greyed.h
3 ** \brief Header file for implementation of the "Greyed" valuenode conversion.
8 ** Copyright (c) 2008 Chris Moore
10 ** This package is free software; you can redistribute it and/or
11 ** modify it under the terms of the GNU General Public License as
12 ** published by the Free Software Foundation; either version 2 of
13 ** the License, or (at your option) any later version.
15 ** This package is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ** General Public License for more details.
21 /* ========================================================================= */
23 /* === S T A R T =========================================================== */
25 #ifndef __SYNFIG_VALUENODE_GREYED_H
26 #define __SYNFIG_VALUENODE_GREYED_H
28 /* === H E A D E R S ======================================================= */
30 #include "valuenode_reference.h"
32 /* === M A C R O S ========================================================= */
34 /* === C L A S S E S & S T R U C T S ======================================= */
38 class ValueNode_Greyed : public ValueNode_Reference
41 typedef etl::handle<ValueNode_Greyed> Handle;
42 ValueNode_Greyed(const ValueBase::Type &x);
43 ValueNode_Greyed(const ValueNode::Handle &x);
45 virtual String get_name()const;
46 virtual String get_local_name()const;
49 LinkableValueNode* create_new()const;
52 static ValueNode_Greyed* create(const ValueBase &x);
54 }; // END of class ValueNode_Greyed
56 }; // END of namespace synfig
58 /* === E N D =============================================================== */