Rectangle is ambiguous on Windows
In file included from /usr/share/mingw-w64/include/windows.h:71:0, from /home/ardour/win-stack-w32/include/pthread.h:198, from /home/ardour/ardour-w32/libs/pbd/pbd/event_loop.h:29, from /home/ardour/ardour-w32/libs/pbd/pbd/signals.h:42, from /home/ardour/ardour-w32/libs/midi++2/midi++/parser.h:26, from ../libs/surfaces/push2/mix.cc:30: /usr/share/mingw-w64/include/wingdi.h:3049:67: note: candidates are: WINBOOL Rectangle(HDC, int, int, int, int) In file included from ../libs/surfaces/push2/mix.cc:48:0: /home/ardour/ardour-w32/libs/canvas/canvas/rectangle.h:30:48: note: class ArdourCanvas::Rectangle
This commit is contained in:
parent
96b35db9bd
commit
d8291550e7
|
@ -67,7 +67,7 @@ Push2Menu::Push2Menu (Item* parent, vector<string> s)
|
|||
baseline = h;
|
||||
}
|
||||
|
||||
active_bg = new Rectangle (this);
|
||||
active_bg = new ArdourCanvas::Rectangle (this);
|
||||
|
||||
for (vector<string>::iterator si = s.begin(); si != s.end(); ++si) {
|
||||
Text* t = new Text (this);
|
||||
|
|
|
@ -77,7 +77,7 @@ MixLayout::MixLayout (Push2& p, Session & s, std::string const & name)
|
|||
{
|
||||
/* background */
|
||||
|
||||
bg = new Rectangle (this);
|
||||
bg = new ArdourCanvas::Rectangle (this);
|
||||
bg->set (Rect (0, 0, display_width(), display_height()));
|
||||
bg->set_fill_color (p2.get_color (Push2::DarkBackground));
|
||||
|
||||
|
@ -93,12 +93,12 @@ MixLayout::MixLayout (Push2& p, Session & s, std::string const & name)
|
|||
|
||||
/* background for text labels for knob function */
|
||||
|
||||
Rectangle* r = new Rectangle (this);
|
||||
ArdourCanvas::Rectangle* r = new ArdourCanvas::Rectangle (this);
|
||||
Coord x0 = 10 + (n*Push2Canvas::inter_button_spacing()) - 5;
|
||||
r->set (Rect (x0, 2, x0 + Push2Canvas::inter_button_spacing(), 2 + 21));
|
||||
upper_backgrounds.push_back (r);
|
||||
|
||||
r = new Rectangle (this);
|
||||
r = new ArdourCanvas::Rectangle (this);
|
||||
r->set (Rect (x0, 137, x0 + Push2Canvas::inter_button_spacing(), 137 + 21));
|
||||
lower_backgrounds.push_back (r);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ ScaleLayout::ScaleLayout (Push2& p, Session & s, std::string const & name)
|
|||
|
||||
/* background */
|
||||
|
||||
bg = new Rectangle (this);
|
||||
bg = new ArdourCanvas::Rectangle (this);
|
||||
bg->set (Rect (0, 0, display_width(), display_height()));
|
||||
bg->set_fill_color (p2.get_color (Push2::DarkBackground));
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ TrackMixLayout::TrackMixLayout (Push2& p, Session & s, std::string const & name)
|
|||
{
|
||||
Pango::FontDescription fd ("Sans 10");
|
||||
|
||||
bg = new Rectangle (this);
|
||||
bg = new ArdourCanvas::Rectangle (this);
|
||||
bg->set (Rect (0, 0, display_width(), display_height()));
|
||||
bg->set_fill_color (p2.get_color (Push2::DarkBackground));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user