mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
fixes for macOS where Rect is a MacType
This commit is contained in:
parent
0095681493
commit
6ac4d37bea
1 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ TriggerEntry::TriggerEntry (Canvas* canvas, ARDOUR::Trigger& t)
|
|||
poly_margin = 2. * scale;
|
||||
poly_size = height - (poly_margin * 2.);
|
||||
|
||||
Rect r (0, 0, width, height);
|
||||
ArdourCanvas::Rect r (0, 0, width, height);
|
||||
set (r);
|
||||
set_outline_all ();
|
||||
set_fill_color (Gtkmm2ext::random_color());
|
||||
|
|
@ -64,7 +64,7 @@ TriggerEntry::TriggerEntry (Canvas* canvas, ARDOUR::Trigger& t)
|
|||
name = string_compose ("trigger %1", _trigger.index());
|
||||
|
||||
play_button = new Rectangle (this);
|
||||
play_button->set (Rect (0., 0., poly_size + (poly_margin * 2.), height));
|
||||
play_button->set (ArdourCanvas::Rect (0., 0., poly_size + (poly_margin * 2.), height));
|
||||
play_button->set_outline (false);
|
||||
play_button->set_fill_color (0x000000ff);
|
||||
play_button->name = string_compose ("playbutton %1", _trigger.index());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue