mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
push2: remove Knob::set_position() overload
This commit is contained in:
parent
7c9f3acc60
commit
8cc94e79ac
3 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue