#include "audio_streamview.h"
#include "utils.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
using namespace Editing;
AudioTimeAxisView::AudioTimeAxisView (PublicEditor& ed, Session* sess, ArdourCanvas::Canvas& canvas)
- : AxisView(sess)
+ : SessionHandlePtr (sess)
, RouteTimeAxisView(ed, sess, canvas)
{
}
if (_route->panner_shell()) {
_route->panner_shell()->Changed.connect (*this, invalidator (*this),
- boost::bind (&AudioTimeAxisView::ensure_pan_views, this, false), gui_context());
+ boost::bind (&AudioTimeAxisView::ensure_pan_views, this, false), gui_context());
}
/* map current state of the route */
create_trim_automation_child (param, show);
} else if (param.type() == PanWidthAutomation ||
- param.type() == PanElevationAutomation ||
- param.type() == PanAzimuthAutomation) {
+ param.type() == PanElevationAutomation ||
+ param.type() == PanAzimuthAutomation) {
ensure_pan_views (show);
}
}
- if (get_selected()) {
+ if (selected()) {
controls_ebox.set_name (controls_base_selected_name);
time_axis_frame.set_name (controls_base_selected_name);
} else {