synfig-studio
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
synfigapp
actions
layerfit.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_LAYERFIT_H
26
#define __SYNFIG_APP_ACTION_LAYERFIT_H
27
28
/* === H E A D E R S ======================================================= */
29
30
#include <synfig/layer.h>
31
#include <
synfigapp/action.h
>
32
33
/* === M A C R O S ========================================================= */
34
35
/* === T Y P E D E F S ===================================================== */
36
37
/* === C L A S S E S & S T R U C T S ======================================= */
38
39
namespace
synfigapp {
40
41
namespace
Action {
42
43
class
LayerFit
:
44
public
Undoable
,
45
public
CanvasSpecific
46
{
47
private
:
48
synfig::Layer::Handle
layer;
49
synfig::ValueBase prev_tl;
50
synfig::ValueBase prev_br;
51
52
public
:
53
54
LayerFit
();
55
56
static
ParamVocab
get_param_vocab
();
57
static
bool
is_candidate
(
const
ParamList
&x);
58
59
virtual
bool
set_param
(
const
synfig::String& name,
const
Param
&);
60
virtual
bool
is_ready
()
const
;
61
62
virtual
void
perform
();
63
virtual
void
undo
();
64
65
ACTION_MODULE_EXT
66
};
67
68
};
// END of namespace action
69
};
// END of namespace studio
70
71
/* === E N D =============================================================== */
72
73
#endif
Generated on Mon Nov 16 2015 15:36:45 for synfig-studio by
1.8.1.2