push2: remove Knob::set_position() overload
This commit is contained in:
@@ -56,7 +56,6 @@ public:
|
||||
void set_text_color (ArdourCanvas::Color);
|
||||
void set_arc_start_color (ArdourCanvas::Color);
|
||||
void set_arc_end_color (ArdourCanvas::Color);
|
||||
void set_position (double x, double y);
|
||||
void set_radius (double r);
|
||||
|
||||
void render (ArdourCanvas::Rect const &, Cairo::RefPtr<Cairo::Context>) const;
|
||||
|
||||
@@ -116,7 +116,7 @@ MixLayout::MixLayout (Push2& p, Session& s)
|
||||
backgrounds.push_back (r);
|
||||
|
||||
knobs[n] = new Push2Knob (p2, this);
|
||||
knobs[n]->set_position (60 + (n*Push2Canvas::inter_button_spacing()), 95);
|
||||
knobs[n]->set_position (Duple (60 + (n*Push2Canvas::inter_button_spacing()), 95));
|
||||
knobs[n]->set_radius (25);
|
||||
}
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ TrackMixLayout::TrackMixLayout (Push2& p, Session& s)
|
||||
}
|
||||
|
||||
knobs[n] = new Push2Knob (p2, this);
|
||||
knobs[n]->set_position (60 + (Push2Canvas::inter_button_spacing()*n), 95);
|
||||
knobs[n]->set_position (Duple (60 + (Push2Canvas::inter_button_spacing()*n), 95));
|
||||
knobs[n]->set_radius (25);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user