]> git.sesse.net Git - ccbs/commitdiff
Moved the bottom text a bit up, to get it more readable.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Feb 2005 17:04:27 +0000 (17:04 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Feb 2005 17:04:27 +0000 (17:04 +0000)
bigscreen/groupscreen.cpp

index d169bdbd1b2209c8714378b7699ec488a6d94f5a..b7f760c4fdfacb6984eb0c7bafdee8c3aae37365 100644 (file)
@@ -308,17 +308,17 @@ void GroupScreen::draw(unsigned char *buf)
        if (next_song != NULL) {
                widestring text = widestring("Next player: ") + next_player->nick;
                unsigned this_width = my_draw_text(text, NULL, 24.0);
-               my_draw_text(text, buf, 24.0, 400 - this_width/2, 450);
+               my_draw_text(text, buf, 24.0, 400 - this_width/2, 420);
 
                if (next_song->song.id != -1) {
                        this_width = my_draw_text(next_song->song.title, NULL, 20.0);
-                       my_draw_text(next_song->song.title, buf, 20.0, 400 - this_width/2, 487);
+                       my_draw_text(next_song->song.title, buf, 20.0, 400 - this_width/2, 457);
 
                        // fetch the high score later
                        text = widestring("High score: ") + widestring(pqxx::to_string(1234)) +
                                widestring(", by dufF in Challenge Cup 1, 2004");
                        this_width = my_draw_text(text, NULL, 16.0);
-                       my_draw_text(text, buf, 16.0, 400 - this_width/2, 517);
+                       my_draw_text(text, buf, 16.0, 400 - this_width/2, 487);
                }
 
                // only show lead/win/qualify for the last song
@@ -338,7 +338,7 @@ void GroupScreen::draw(unsigned char *buf)
                                conn.perform(FetchMaxScoreForPlayer(tournament, next_player->id, round, &max_score_this_song));
                        }
 
-                       unsigned y = 540;
+                       unsigned y = 520;
                        
                        // see what score this player must beat to lead
                        unsigned lead_beat = 0, win_beat = 0;