+}
+
+void GroupScreen::draw(unsigned char *buf, unsigned width, unsigned height)
+{
+ std::vector<TextDefer> td;
+
+ scores_changed.reset_flag();
+ set_screen_size(width, height);
+
+ /*
+ * We'll probably need some values from here later on (although not all), just fetch them
+ * all while we're at it.
+ */
+ std::map<unsigned, unsigned> song_scores, player_scores;
+ conn.perform(FetchMaxScoreForSongs(tournament, &song_scores));
+ conn.perform(FetchMaxScoreForPlayers(tournament, round, &player_scores));
+
+ Group group;
+ conn.perform(FetchGroup(tournament, round, parallel, &group));
+ gettimeofday(&last_updated, NULL);
+
+ memset(buf, 0, width * height * 4);
+
+ std::vector<unsigned> colwidth;
+
+ draw_main_heading(td);
+ find_column_widths(group, colwidth);
+
+ unsigned max_num_width = my_draw_text("8888", NULL, 22.0);
+ unsigned num_scores = group.players[0].scores.size();