#include "utils.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace Gtk;
using namespace Gtkmm2ext;
using namespace ARDOUR;
route_color_changed ();
}
}
-
- if (what_changed.contains (Properties::selected)) {
- show_selected ();
- }
-}
-
-void
-RouteUI::set_selected (bool yn)
-{
- Selectable::set_selected (yn);
- if (_route) {
- _route->presentation_info().set_selected (yn);
- }
-}
-
-bool
-RouteUI::selected () const
-{
- /* XXX not sure if this is a wise design. Probably don't really want
- * the cached _selected value from Selectable.
- */
-
- if (!_route) {
- return _selected;
- }
-
- return _route->presentation_info().selected();
}
void
}
return false;
}
+
+boost::shared_ptr<Stripable>
+RouteUI::stripable () const
+{
+ return _route;
+}
+