25 #ifndef __SYNFIG_STUDIO_CELLRENDERER_GRADIENT_H
26 #define __SYNFIG_STUDIO_CELLRENDERER_GRADIENT_H
30 #include <glibmm/property.h>
31 #include <glibmm/propertyproxy.h>
33 #include <gtkmm/entry.h>
34 #include <gtkmm/cellrenderertext.h>
36 #include <sigc++/signal.h>
37 #include <sigc++/slot.h>
39 #include <synfig/gradient.h>
47 namespace Gtk {
class Entry;
class Button; };
53 sigc::signal<void, const Glib::ustring&> signal_secondary_click_;
54 sigc::signal<void, const Glib::ustring&, synfig::Gradient> signal_edited_;
56 Glib::Property<synfig::Gradient> property_gradient_;
59 sigc::signal<void, const Glib::ustring&, synfig::Gradient> &
signal_edited()
60 {
return signal_edited_; }
62 Glib::PropertyProxy<synfig::Gradient>
property_gradient() {
return property_gradient_.get_proxy();}
71 const ::Cairo::RefPtr< ::Cairo::Context>& cr,
73 const Gdk::Rectangle& background_area,
74 const Gdk::Rectangle& cell_area,
75 Gtk::CellRendererState flags);
79 const Glib::ustring& path,
80 const Gdk::Rectangle& background_area,
81 const Gdk::Rectangle& cell_area,
82 Gtk::CellRendererState flags);