25 #ifndef __SYNFIG_STUDIO_CELLRENDERER_TIME_H
26 #define __SYNFIG_STUDIO_CELLRENDERER_TIME_H
30 #include <glibmm/property.h>
31 #include <gtkmm/entry.h>
32 #include <gtkmm/cellrenderertext.h>
34 #include <sigc++/signal.h>
35 #include <sigc++/slot.h>
37 #include <synfig/time.h>
45 namespace Gtk {
class Entry;
class Button; };
51 sigc::signal<void, const Glib::ustring&> signal_secondary_click_;
52 sigc::signal<void, const Glib::ustring&, synfig::Time> signal_edited_;
54 Glib::Property<synfig::Time> property_time_;
55 Glib::Property<synfig::Time> property_fps_;
57 void string_edited_(
const Glib::ustring&,
const Glib::ustring&);
59 void on_value_editing_done();
63 {
return signal_edited_; }
65 Glib::PropertyProxy<synfig::Time>
property_time() {
return property_time_.get_proxy();}
66 Glib::PropertyProxy<synfig::Time>
property_fps() {
return property_fps_.get_proxy();}
75 const ::Cairo::RefPtr< ::Cairo::Context>& cr,
77 const Gdk::Rectangle& background_area,
78 const Gdk::Rectangle& cell_area,
79 Gtk::CellRendererState flags);
83 const Glib::ustring& path,
84 const Gdk::Rectangle& background_area,
85 const Gdk::Rectangle& cell_area,
86 Gtk::CellRendererState flags);