25 #ifndef __SYNFIG_DOCK_NAVIGATOR_H
26 #define __SYNFIG_DOCK_NAVIGATOR_H
29 #include "sigc++/signal.h"
31 #include <gtkmm/drawingarea.h>
32 #include <gdkmm/pixbuf.h>
33 #include <gtkmm/adjustment.h>
34 #include <gtkmm/label.h>
36 #include <synfig/renddesc.h>
42 #include <ETL/smart_ptr>
58 Glib::RefPtr<Gdk::Pixbuf> prev;
62 Gtk::DrawingArea drawto;
65 Glib::RefPtr<Gtk::Adjustment> adj_zoom;
66 Gtk::Label zoom_print;
72 etl::handle<AsyncRenderer> renderer;
73 etl::smart_ptr<synfig::Surface> surface;
74 cairo_surface_t* cairo_surface;
78 void on_start_render();
79 void on_finish_render();
81 void on_dirty_preview();
88 using Gtk::Widget::on_scroll_event;
89 bool on_scroll_event(GdkEvent *event);
90 void on_number_modify();
93 bool on_mouse_event(GdkEvent * e);
96 bool on_drawto_draw(
const Cairo::RefPtr<Cairo::Context> &cr);
99 void on_workarea_view_change();