synfig-studio
1.0.3
|
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)) |
Template File.
$Id$
#define SPINBUTTON_WIDTH 100 |
Referenced by studio::Widget_ColorEdit::set_digits(), and studio::Widget_ColorEdit::set_has_frame().
#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); |
Referenced by studio::Widget_ColorEdit::Widget_ColorEdit().
#define ATTACH_SPIN_BUTTON | ( | i, | |
n | |||
) | AttachSpinButton(i, spinbutton_##n = manage(new class Gtk::SpinButton(n##_adjustment, 1, 0)),table); |
Referenced by studio::Widget_ColorEdit::Widget_ColorEdit().
#define CLIP_VALUE | ( | value, | |
min, | |||
max | |||
) | (value <= min ? min : (value > max ? max : value)) |