25 #ifndef __SYNFIG_GTKMM_DIALOG_PREVIEW_H
26 #define __SYNFIG_GTKMM_DIALOG_PREVIEW_H
30 #include <gtkmm/adjustment.h>
31 #include <gtkmm/dialog.h>
32 #include <gtkmm/menu.h>
33 #include <gtkmm/spinbutton.h>
78 bool on_key_pressed(GdkEventKey*);
79 void close_window_handler();
89 Glib::RefPtr<Gtk::Adjustment> adj_zoom;
91 Glib::RefPtr<Gtk::Adjustment> adj_fps;
93 Gtk::CheckButton check_use_cairo;
98 Gtk::CheckButton check_overbegin;
99 Gtk::CheckButton check_overend;
106 void on_ok_pressed();
107 void on_cancel_pressed();
110 void on_overbegin_toggle();
111 void on_overend_toggle();
113 sigc::signal<void,const PreviewInfo &> signal_finish_;
118 float get_zoom()
const {
return adj_zoom->get_value(); }
121 float get_fps()
const {
return adj_fps->get_value(); }
122 void set_fps(
float z) { adj_fps->set_value(z); }
142 sigc::signal<void,const PreviewInfo &> &
signal_finish() {
return signal_finish_;}