summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-07-24 11:28:31 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-07-24 11:28:31 -0500
commit61c66afd4c54888449cb5ac635f9694cd8415e37 (patch)
treeb69c8d0417a3103c211e86734e8f8f2e86dede25 /gtk2_ardour/mixer_strip.h
parent05f3adaba3eb42ba407864dd04064472e68948a6 (diff)
Revert previous select-strips-under-mouse behavior
However, keep the path for deletions in the editor-mixer via _entered_mixer_strip TODO: if nothing was deleted, assume the user was trying to delete something in the editor instead Show selected plugins by a red border TODO: more work on the selection model for plugins and mixer strips
Diffstat (limited to 'gtk2_ardour/mixer_strip.h')
-rw-r--r--gtk2_ardour/mixer_strip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h
index ec6fb28fe8..7f15cc9d6a 100644
--- a/gtk2_ardour/mixer_strip.h
+++ b/gtk2_ardour/mixer_strip.h
@@ -133,6 +133,8 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
void set_selected(bool yn);
bool is_selected() {return _selected;}
+ static MixerStrip* entered_mixer_strip() { return _entered_mixer_strip; }
+
protected:
friend class Mixer_UI;
void set_packed (bool yn);
@@ -280,6 +282,8 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
bool ignore_speed_adjustment;
+ static MixerStrip* _entered_mixer_strip;
+
void engine_running();
void engine_stopped();
@@ -298,6 +302,9 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
void update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width width, bool input_button);
void port_connected_or_disconnected (boost::weak_ptr<ARDOUR::Port>, boost::weak_ptr<ARDOUR::Port>);
+ bool mixer_strip_enter_event ( GdkEventCrossing * );
+ bool mixer_strip_leave_event ( GdkEventCrossing * );
+
/** A VisibilityGroup to manage the visibility of some of our controls.
* We fill it with the controls that are being managed, using the same names
* as those used with _mixer_strip_visibility in RCOptionEditor. Then