summaryrefslogtreecommitdiff
path: root/gtk2_ardour/axis_view.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2020-01-20 16:03:22 -0600
committerBen Loftis <ben@harrisonconsoles.com>2020-01-20 16:03:22 -0600
commitd8d737adc4408fd731254aa7e5e09b262358be68 (patch)
tree78604f9fdb808594bbcef64ce57788993aa77474 /gtk2_ardour/axis_view.h
parent7966d02534e9b78d9233c4f92af5d82436949853 (diff)
Make it more obvious when a track is Inactive
Inactive tracks will now hide all controls and display only the track name in parenthesis. Color-change is not sufficient by itself to distinguish an inactive track from an active one (consider the case of just 2 tracks...)
Diffstat (limited to 'gtk2_ardour/axis_view.h')
-rw-r--r--gtk2_ardour/axis_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/axis_view.h b/gtk2_ardour/axis_view.h
index 3c72a78c84..3a3d901317 100644
--- a/gtk2_ardour/axis_view.h
+++ b/gtk2_ardour/axis_view.h
@@ -28,6 +28,7 @@
#include <boost/unordered_map.hpp>
#include <gtkmm/label.h>
+#include <gtkmm/table.h>
#include <gdkmm/color.h>
#include "pbd/xml++.h"
@@ -123,6 +124,9 @@ protected:
Gtk::Label name_label;
+ Gtk::Label inactive_label;
+ Gtk::Table inactive_table;
+
mutable boost::unordered_map<std::string, std::string> property_hashtable;
}; /* class AxisView */