synfig-studio  1.0.3
Macros | Enumerations
state_circle.cpp File Reference

Template File. More...

#include <synfig/valuenodes/valuenode_dynamiclist.h>
#include <synfigapp/action_system.h>
#include <synfig/valuenodes/valuenode_bline.h>
#include "state_circle.h"
#include "state_normal.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
#include <synfigapp/action.h>
#include "event_mouse.h"
#include "event_layerclick.h"
#include "docks/dock_toolbox.h"
#include "docks/dialog_tooloptions.h"
#include "duck.h"
#include "widgets/widget_enum.h"
#include "widgets/widget_distance.h"
#include <synfigapp/main.h>
#include "general.h"

Macros

#define LAYER_CREATION(button, stockid, tooltip)
#define SPACING(name, px)
#define GAP   (3)
#define INDENTATION   (6)

Enumerations

enum  CircleFalloff {
  CIRCLE_SQUARED = 0, CIRCLE_INTERPOLATION_LINEAR = 1, CIRCLE_COSINE = 2, CIRCLE_SIGMOND = 3,
  CIRCLE_SQRT = 4, CIRCLE_NUM_FALLOFF
}

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::StateCircle_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)

Enumeration Type Documentation

Enumerator:
CIRCLE_SQUARED 
CIRCLE_INTERPOLATION_LINEAR 
CIRCLE_COSINE 
CIRCLE_SIGMOND 
CIRCLE_SQRT 
CIRCLE_NUM_FALLOFF