X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Fgroupscreen.h;h=21ab17248e2bb4ab54056e9778d12a63f3d422a2;hp=72979750cd254550013d288a6125f952b79124a2;hb=5a591d5e5db52bb78fd794342f090c7db66211dd;hpb=32d2a098bec8a1ace0f86f28110da45d060f8447 diff --git a/bigscreen/groupscreen.h b/bigscreen/groupscreen.h index 7297975..21ab172 100644 --- a/bigscreen/groupscreen.h +++ b/bigscreen/groupscreen.h @@ -1,6 +1,7 @@ #ifndef _GROUPSCREEN_H #define _GROUPSCREEN_H 1 +#include #include #include #include @@ -8,18 +9,20 @@ #include "screen.h" #include "flagtrigger.h" #include "group.h" +#include "fonts.h" /* A screen class showing a group in the tournament */ class GroupScreen : public GenericScreen { private: - unsigned tournament, round, parallel; + unsigned tournament, round, parallel, machine, num_machines; FlagTrigger scores_changed; pqxx::connection &conn; bool valid; struct timeval last_updated; + std::vector last_text; public: - GroupScreen(pqxx::connection &conn, unsigned tournament, unsigned round, unsigned parallel); + GroupScreen(pqxx::connection &conn, unsigned tournament, unsigned round, unsigned parallel, unsigned machine, unsigned num_machines); virtual ~GroupScreen(); bool check_invalidated();