Blame synfig-studio/src/synfigapp/actions/valuedescsetinterpolation.h

bbe0af
/* === S Y N F I G ========================================================= */
bbe0af
/*!	\file valuedescsetinterpolation.h
bbe0af
**	\brief Template File
bbe0af
**
bbe0af
**	$Id$
bbe0af
**
bbe0af
**	\legal
bbe0af
**	Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
bbe0af
**	Copyright (c) 2013 Konstantin Dmitriev
bbe0af
**
bbe0af
**	This package is free software; you can redistribute it and/or
bbe0af
**	modify it under the terms of the GNU General Public License as
bbe0af
**	published by the Free Software Foundation; either version 2 of
bbe0af
**	the License, or (at your option) any later version.
bbe0af
**
bbe0af
**	This package is distributed in the hope that it will be useful,
bbe0af
**	but WITHOUT ANY WARRANTY; without even the implied warranty of
bbe0af
**	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
bbe0af
**	General Public License for more details.
bbe0af
**	\endlegal
bbe0af
*/
bbe0af
/* ========================================================================= */
bbe0af
bbe0af
/* === S T A R T =========================================================== */
bbe0af
bbe0af
#ifndef __SYNFIG_APP_ACTION_VALUEDESCSETINTERPOLATION_H
bbe0af
#define __SYNFIG_APP_ACTION_VALUEDESCSETINTERPOLATION_H
bbe0af
bbe0af
/* === H E A D E R S ======================================================= */
bbe0af
bbe0af
#include <synfigapp action.h=""></synfigapp>
bbe0af
#include <synfigapp value_desc.h=""></synfigapp>
Diego Barrios Romero 07d34c
#include <synfig valuenode_animated.h="" valuenodes=""></synfig>
bbe0af
#include <list></list>
bbe0af
bbe0af
/* === M A C R O S ========================================================= */
bbe0af
bbe0af
/* === T Y P E D E F S ===================================================== */
bbe0af
bbe0af
/* === C L A S S E S & S T R U C T S ======================================= */
bbe0af
bbe0af
namespace synfigapp {
bbe0af
bbe0af
namespace Action {
bbe0af
bbe0af
class ValueDescSetInterpolation :
bbe0af
	public Undoable,
bbe0af
	public CanvasSpecific
bbe0af
{
bbe0af
private:
bbe0af
bbe0af
	ValueDesc value_desc;
bbe0af
	synfig::Interpolation value;
bbe0af
	//synfig::ValueNode_Animated::Handle value_node_animated;
bbe0af
	synfig::Interpolation old_value;
bbe0af
bbe0af
public:
bbe0af
bbe0af
	ValueDescSetInterpolation();
bbe0af
bbe0af
	static ParamVocab get_param_vocab();
bbe0af
	static bool is_candidate(const ParamList &x);
bbe0af
bbe0af
	virtual bool set_param(const synfig::String& name, const Param &);
bbe0af
	virtual bool is_ready()const;
bbe0af
bbe0af
	virtual void perform();
bbe0af
	virtual void undo();
bbe0af
bbe0af
	ACTION_MODULE_EXT
bbe0af
};
bbe0af
bbe0af
}; // END of namespace action
bbe0af
}; // END of namespace studio
bbe0af
bbe0af
/* === E N D =============================================================== */
bbe0af
bbe0af
#endif