Template File.
More...
#include <synfig/string.h>
#include <synfig/canvas.h>
#include <ETL/handle>
#include <ETL/stringf>
#include <ETL/trivial>
#include <map>
#include <list>
#include <synfig/layer.h>
#include <synfig/valuenode.h>
#include <synfigapp/value_desc.h>
#include <synfig/value.h>
#include <synfig/activepoint.h>
#include <synfig/valuenodes/valuenode_animated.h>
#include <synfig/keyframe.h>
#include "action_param.h"
#include "editmode.h"
Go to the source code of this file.
Enumerations |
enum | synfigapp::Action::Category {
synfigapp::Action::CATEGORY_NONE = 0,
synfigapp::Action::CATEGORY_LAYER = (1<<0),
synfigapp::Action::CATEGORY_CANVAS = (1<<1),
synfigapp::Action::CATEGORY_WAYPOINT = (1<<2),
synfigapp::Action::CATEGORY_ACTIVEPOINT = (1<<3),
synfigapp::Action::CATEGORY_VALUEDESC = (1<<4),
synfigapp::Action::CATEGORY_VALUENODE = (1<<5),
synfigapp::Action::CATEGORY_KEYFRAME = (1<<6),
synfigapp::Action::CATEGORY_GROUP = (1<<7),
synfigapp::Action::CATEGORY_BEZIER = (1<<8),
synfigapp::Action::CATEGORY_OTHER = (1<<12),
synfigapp::Action::CATEGORY_DRAG = (1<<24),
synfigapp::Action::CATEGORY_HIDDEN = (1<<31),
synfigapp::Action::CATEGORY_ALL = (~0)-(1<<31)
} |
Detailed Description
Macro Definition Documentation
#define ACTION_MODULE_EXT |
Value:public: \
static const char name__[], local_name__[], version__[], cvs_id__[], task__[]; \
static const int priority__; \
static Action::Base *
create(); \
virtual synfig::String get_name()const; \
virtual synfig::String get_local_name()const;
#define ACTION_SET_NAME |
( |
|
class, |
|
|
|
x |
|
) |
| const char class::name__[]=x |
#define ACTION_SET_CATEGORY |
( |
|
class, |
|
|
|
x |
|
) |
| const Category class::category__(x) |
#define ACTION_SET_TASK |
( |
|
class, |
|
|
|
x |
|
) |
| const char class::task__[]=x |
#define ACTION_SET_PRIORITY |
( |
|
class, |
|
|
|
x |
|
) |
| const int class::priority__=x |
#define ACTION_SET_LOCAL_NAME |
( |
|
class, |
|
|
|
x |
|
) |
| const char class::local_name__[]=x |
#define ACTION_SET_VERSION |
( |
|
class, |
|
|
|
x |
|
) |
| const char class::version__[]=x |
#define ACTION_SET_CVS_ID |
( |
|
class, |
|
|
|
x |
|
) |
| const char class::cvs_id__[]=x |
#define ACTION_INIT_NO_GET_LOCAL_NAME |
( |
|
class | ) |
|
Value:
synfig::String class::get_name()const { return name__; }
don't define get_local_name() - allow the action code to define its own
#define ACTION_INIT |
( |
|
class | ) |
|
Value:
synfig::String class::get_local_name()const { return dgettext("synfigstudio",local_name__); }