synfig-studio  1.0.3
Macros
widget_coloredit.cpp File Reference

Template File. More...

#include "widgets/widget_coloredit.h"
#include <cmath>
#include "app.h"
#include <gtkmm/drawingarea.h>
#include <pangomm/attributes.h>
#include <pangomm/attrlist.h>
#include <algorithm>
#include <gtkmm/notebook.h>
#include <gtkmm/box.h>
#include <gtkmm/widget.h>
#include <gtkmm/colorselection.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gdkmm/color.h>
#include <climits>
#include "general.h"

Macros

#define SPINBUTTON_WIDTH   100
#define ARROW_NEGATIVE_THRESHOLD   0.4
#define SLIDER_ROW(i, n, l)   SliderRow(i, slider_##n = manage(new ColorSlider(ColorSlider::TYPE_##n)), l,attr_list,table);
#define ATTACH_SPIN_BUTTON(i, n)   AttachSpinButton(i, spinbutton_##n = manage(new class Gtk::SpinButton(n##_adjustment, 1, 0)),table);
#define CLIP_VALUE(value, min, max)   (value <= min ? min : (value > max ? max : value))

Detailed Description

Template File.

$Id$

Macro Definition Documentation

#define SPINBUTTON_WIDTH   100
#define ARROW_NEGATIVE_THRESHOLD   0.4
#define SLIDER_ROW (   i,
  n,
 
)    SliderRow(i, slider_##n = manage(new ColorSlider(ColorSlider::TYPE_##n)), l,attr_list,table);
#define ATTACH_SPIN_BUTTON (   i,
 
)    AttachSpinButton(i, spinbutton_##n = manage(new class Gtk::SpinButton(n##_adjustment, 1, 0)),table);
#define CLIP_VALUE (   value,
  min,
  max 
)    (value <= min ? min : (value > max ? max : value))