From: Steinar H. Gunderson Date: Sat, 19 Feb 2005 18:19:19 +0000 (+0000) Subject: Don't show column headings for chosen songs, as they are not the same everywhere... X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=e7b4a93b19eb80023d2b58d36c8255f589e36d2d;hp=9259b72537dbfc4100a5b65bd58b3a9a61d1fc2d Don't show column headings for chosen songs, as they are not the same everywhere, of course. --- diff --git a/bigscreen/groupscreen.cpp b/bigscreen/groupscreen.cpp index 50d63b2..86ff467 100644 --- a/bigscreen/groupscreen.cpp +++ b/bigscreen/groupscreen.cpp @@ -51,7 +51,8 @@ void GroupScreen::draw(unsigned char *buf) // make column headings from the first player's songs unsigned col = 1, x = 40 + width[0]; for (std::vector::const_iterator i = group.players[0].scores.begin(); i != group.players[0].scores.end(); ++i, ++col) { - my_draw_text(i->song.title, buf, x, 30, true, 255, 255, 255); + if (!i->chosen) + my_draw_text(i->song.title, buf, x, 30, true, 255, 255, 255); x += width[col] + 20; }