synfig-studio  1.0.3
Macros | Functions
layersetexcludefromrendering.cpp File Reference

Template File. More...

#include "layersetexcludefromrendering.h"
#include <synfigapp/canvasinterface.h>
#include <synfigapp/general.h>

Macros

#define ACTION_LAYERSETEXCLUDEFROMRENDERING_IMPLEMENT(class_name, local_name, task,...)

Functions

 ACTION_LAYERSETEXCLUDEFROMRENDERING_IMPLEMENT (LayerSetExcludeFromRenderingOn, N_("Disable Layer Rendering"), true)
 ACTION_LAYERSETEXCLUDEFROMRENDERING_IMPLEMENT (LayerSetExcludeFromRenderingOff, N_("Enable Layer Rendering"), false)

Detailed Description

Template File.

$Id$

Macro Definition Documentation

#define ACTION_LAYERSETEXCLUDEFROMRENDERING_IMPLEMENT (   class_name,
  local_name,
  task,
  ... 
)
Value:
ACTION_INIT(Action::class_name); \
ACTION_SET_NAME(Action::class_name, #class_name); \
ACTION_SET_LOCAL_NAME(Action::class_name, local_name); \
ACTION_SET_TASK(Action::class_name,"setexcludefromrendering_" #task); \
ACTION_SET_CATEGORY(Action::class_name,Action::CATEGORY_LAYER); \
ACTION_SET_PRIORITY(Action::class_name,0); \
ACTION_SET_VERSION(Action::class_name,"0.0"); \
ACTION_SET_CVS_ID(Action::class_name,"$Id$"); \
bool Action::class_name::is_candidate(const ParamList &x) \
{ return is_candidate_for_exclude(x,task); }

Function Documentation

ACTION_LAYERSETEXCLUDEFROMRENDERING_IMPLEMENT ( LayerSetExcludeFromRenderingOn  ,
N_("Disable Layer Rendering")  ,
true   
)
ACTION_LAYERSETEXCLUDEFROMRENDERING_IMPLEMENT ( LayerSetExcludeFromRenderingOff  ,
N_("Enable Layer Rendering")  ,
false   
)