1 #ifndef __gtk_ardour_editor_summary_h__
2 #define __gtk_ardour_editor_summary_h__
4 #include <gtkmm/eventbox.h>
12 class EditorSummary : public Gtk::EventBox
15 EditorSummary (Editor *);
18 void set_session (ARDOUR::Session *);
20 void set_bounds_dirty ();
23 bool on_expose_event (GdkEventExpose *);
24 void on_size_request (Gtk::Requisition *);
25 void on_size_allocate (Gtk::Allocation &);
26 bool on_button_press_event (GdkEventButton *);
28 void render (cairo_t *);
29 GdkPixmap* get_pixmap (GdkDrawable *);
30 void render_region (RegionView*, cairo_t*, nframes_t, double) const;
33 ARDOUR::Session* _session;
38 double _pixels_per_frame;