summaryrefslogtreecommitdiff
path: root/gtk2_ardour/panner_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-05-23 19:54:52 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-05-23 19:54:52 +0000
commit2fba6d0925307abd11be9d8f7a8d2722a2b6ccbd (patch)
tree485eed909963636b010d5f1e24527a6a4b377a42 /gtk2_ardour/panner_ui.h
parenta222c19737fa2d3fce3971350c1a18906635e29a (diff)
breakout control protocol code into LGPL library; fix panner buttons even more than nick did, plus some other bits and pieces
git-svn-id: svn://localhost/trunk/ardour2@522 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/panner_ui.h')
-rw-r--r--gtk2_ardour/panner_ui.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk2_ardour/panner_ui.h b/gtk2_ardour/panner_ui.h
index 78fc86885d..80b14465cf 100644
--- a/gtk2_ardour/panner_ui.h
+++ b/gtk2_ardour/panner_ui.h
@@ -90,22 +90,20 @@ class PannerUI : public Gtk::HBox
Gtk::Arrow panning_down_arrow;
Gtk::VBox pan_vbox;
Width _width;
- gint panning_scroll_button_press_event (GdkEventButton*, int32_t dir);
- gint panning_scroll_button_release_event (GdkEventButton*, int32_t dir);
-
+
Gtk::ToggleButton panning_link_button;
Gtk::Button panning_link_direction_button;
Gtk::HBox panning_link_box;
+ bool panning_link_button_press (GdkEventButton*);
+ bool panning_link_button_release (GdkEventButton*);
+
Gtk::Menu pan_astate_menu;
Gtk::Menu pan_astyle_menu;
Gtk::Button pan_automation_style_button;
Gtk::ToggleButton pan_automation_state_button;
-
- gint panning_link_button_press (GdkEventButton*);
- gint panning_link_button_release (GdkEventButton*);
void panning_link_direction_clicked ();
vector<Gtk::Adjustment*> pan_adjustments;
@@ -128,7 +126,8 @@ class PannerUI : public Gtk::HBox
gint start_pan_touch (GdkEventButton*);
gint end_pan_touch (GdkEventButton*);
- gint pan_button_event (GdkEventButton*, uint32_t which);
+ bool pan_button_event (GdkEventButton*, uint32_t which);
+
Gtk::Menu* pan_menu;
Gtk::CheckMenuItem* bypass_menu_item;
void build_pan_menu (uint32_t which);