X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Fgroupscreen.h;h=b88debec24381e01b54c6218d6de2486f2c29b0f;hp=d0175883b61790c954c8f1b1d87ed84c0371befa;hb=b8e7570409d3dff7d17bb44da6e3ba8f5861ca29;hpb=6b842eb46838b703e982c14a8e573e7a5f67a71e diff --git a/bigscreen/groupscreen.h b/bigscreen/groupscreen.h index d017588..b88debe 100644 --- a/bigscreen/groupscreen.h +++ b/bigscreen/groupscreen.h @@ -21,6 +21,10 @@ private: struct timeval last_updated; std::vector last_text; + void draw_main_heading(std::vector &td); + void draw_column_headings(std::vector &td, const Group &group, const std::vector &colwidth); + void find_column_widths(const Group &group, std::vector &colwidth); + public: // the last two parameters should probably not be there, but fetched from GroupScreen itself GroupScreen(pqxx::connection &conn, unsigned tournament, unsigned round, unsigned parallel, unsigned machine, unsigned num_machines, unsigned players_per_machine);