synfig-studio  1.0.3
Macros
state_gradient.cpp File Reference

Template File. More...

#include <synfig/valuenodes/valuenode_dynamiclist.h>
#include <synfigapp/action_system.h>
#include "state_gradient.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 <synfigapp/main.h>
#include "general.h"

Macros

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

Detailed Description

Template File.

$Id$

Macro Definition Documentation

#define LAYER_CREATION (   button,
  fun,
  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::StateGradient_Context::fun))
#define SPACING (   name,
  px 
)
Value:
Gtk::Alignment *name = Gtk::manage(new Gtk::Alignment()); \
name->set_size_request(px)
#define GAP   (3)
#define INDENTATION   (6)