summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-13 17:52:51 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-13 17:52:51 +0000
commit804da5653127aaedda057d3c683be5817f335fef (patch)
tree4a71351e88710d6fbcfbec73ecaaab824a57c8fb /gtk2_ardour/editor_summary.h
parentb2d5840efb0e1034aab00019869299891af6291b (diff)
Various fixes and improvements to editor summary widget.
git-svn-id: svn://localhost/ardour2/branches/3.0@5179 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h
index 2cfd2c420b..73fb42611c 100644
--- a/gtk2_ardour/editor_summary.h
+++ b/gtk2_ardour/editor_summary.h
@@ -27,10 +27,13 @@ private:
void on_size_request (Gtk::Requisition *);
void on_size_allocate (Gtk::Allocation &);
bool on_button_press_event (GdkEventButton *);
+ bool on_button_release_event (GdkEventButton *);
+ bool on_motion_notify_event (GdkEventMotion *);
void render (cairo_t *);
GdkPixmap* get_pixmap (GdkDrawable *);
void render_region (RegionView*, cairo_t*, nframes_t, double) const;
+ void editor_view (std::pair<double, double> *, std::pair<double, double> *) const;
Editor* _editor; ///< our editor
ARDOUR::Session* _session; ///< our session
@@ -39,6 +42,10 @@ private:
int _width; ///< pixmap width
int _height; ///< pixmap height
double _pixels_per_frame; ///< pixels per frame for the x axis of the pixmap
+ double _vertical_scale;
+ bool _dragging;
+ double _x_offset;
+ double _y_offset;
};
#endif