summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-07-17 20:10:31 +0000
committerCarl Hetherington <carl@carlh.net>2011-07-17 20:10:31 +0000
commit982bfd08db00143df984fa168de3754f7f1e3e86 (patch)
tree42217b87d524ba1b9859b066f0563313619d47a4 /gtk2_ardour/editor.h
parent8786d5c9c21322e0cd08488b31ee3b4bed2c68d6 (diff)
Add context menu for control points.
git-svn-id: svn://localhost/ardour2/branches/3.0@9890 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index fe3275611b..48aaee427e 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -686,6 +686,9 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void add_selection_context_items (Gtk::Menu_Helpers::MenuList&);
Gtk::MenuItem* _popup_region_menu_item;
+ void popup_control_point_context_menu (ArdourCanvas::Item *, GdkEvent *);
+ Gtk::Menu _control_point_context_menu;
+
void handle_new_route (ARDOUR::RouteList&);
void timeaxisview_deleted (TimeAxisView *);
@@ -1333,8 +1336,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void region_view_item_click (AudioRegionView&, GdkEventButton*);
- void remove_gain_control_point (ArdourCanvas::Item*, GdkEvent*);
- void remove_control_point (ArdourCanvas::Item*, GdkEvent*);
+ bool can_remove_control_point (ArdourCanvas::Item *);
+ void remove_control_point (ArdourCanvas::Item *);
void mouse_brush_insert_region (RegionView*, framepos_t pos);