synfig-studio  1.0.3
Macros
state_lasso.cpp File Reference

Template File. More...

#include <ETL/hermite>
#include <ETL/calculus>
#include <ETL/gaussian>
#include <synfig/valuenodes/valuenode_bline.h>
#include <synfig/valuenodes/valuenode_wplist.h>
#include <synfig/valuenodes/valuenode_composite.h>
#include <synfig/valuenodes/valuenode_dynamiclist.h>
#include <synfigapp/blineconvert.h>
#include <synfigapp/wplistconverter.h>
#include <synfigapp/main.h>
#include "widgets/widget_distance.h"
#include "widgets/widget_enum.h"
#include "event_mouse.h"
#include "event_layerclick.h"
#include "docks/dock_toolbox.h"
#include "docks/dialog_tooloptions.h"
#include "state_lasso.h"
#include "state_stroke.h"
#include "state_normal.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
#include "synfigapp/actions/layerencapsulate.h"
#include <utility>
#include <sigc++/connection.h>
#include <gtkmm/radiobutton.h>
#include <gtkmm/radiobuttongroup.h>
#include "general.h"

Macros

#define LAYER_CREATION(button, stockid, tooltip)
#define SPACING(name, px)
#define GAP   (3)
#define INDENTATION   (6)
#define SIMILAR_TANGENT_THRESHOLD   (0.2)
#define debug_show_vertex_list(a, b, c, d)

Detailed Description

Template File.

$Id$

Macro Definition Documentation

#define LAYER_CREATION (   button,
  stockid,
  tooltip 
)
Value:
{ \
Gtk::Image *icon = manage(new Gtk::Image(Gtk::StockID(stockid), \
Gtk::ICON_SIZE_SMALL_TOOLBAR)); \
button.add(*icon); \
} \
button.set_relief(Gtk::RELIEF_NONE); \
button.set_tooltip_text(tooltip); \
button.signal_toggled().connect(sigc::mem_fun(*this, \
&studio::StateLasso_Context::toggle_layer_creation))
#define SPACING (   name,
  px 
)
Value:
Gtk::Alignment *name = Gtk::manage(new Gtk::Alignment()); \
name->set_size_request(px)
#define GAP   (3)
#define INDENTATION   (6)
#define SIMILAR_TANGENT_THRESHOLD   (0.2)
#define debug_show_vertex_list (   a,
  b,
  c,
 
)