13
0

fix ambiguous reference.

OSX CoreServices typedef's struct Rect
This commit is contained in:
Robin Gareus 2014-12-06 05:52:31 +01:00
parent df92e33cc5
commit d223e2ed57

View File

@ -586,7 +586,7 @@ ThemeManager::build_base_color_canvas (ArdourCanvas::Container& group, bool (The
for (uint32_t y = 0; y < height - box_size && color_num < color_limit; y += box_size) { for (uint32_t y = 0; y < height - box_size && color_num < color_limit; y += box_size) {
for (uint32_t x = 0; x < width - box_size && color_num < color_limit; x += box_size) { for (uint32_t x = 0; x < width - box_size && color_num < color_limit; x += box_size) {
Rectangle* r = new Rectangle (&group, Rect (x, y, x + box_size, y + box_size)); Rectangle* r = new Rectangle (&group, ArdourCanvas::Rect (x, y, x + box_size, y + box_size));
string name = nc[color_num++].name; string name = nc[color_num++].name;