X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Ftop10scorescreen.h;h=2a32901b285abb12f84df1a922b28c0b5bf4dede;hp=9e8f3c07b6313807901ad0bcecc10cfc38de8572;hb=0b3bb271ac40b5f8bcfc5a417d4423e92c4483b1;hpb=5a591d5e5db52bb78fd794342f090c7db66211dd diff --git a/bigscreen/top10scorescreen.h b/bigscreen/top10scorescreen.h index 9e8f3c0..2a32901 100644 --- a/bigscreen/top10scorescreen.h +++ b/bigscreen/top10scorescreen.h @@ -1,14 +1,12 @@ #ifndef _TOP10SCORESCREEN_H #define _TOP10SCORESCREEN_H 1 -#include +#include #include -#include -#include #include "screen.h" #include "flagtrigger.h" -#include "fonts.h" +#include "fetch_top_scores_for_tournament.h" /* A screen class showing a group in the tournament */ class Top10ScoreScreen : public GenericScreen { @@ -17,7 +15,7 @@ private: unsigned tournament; FlagTrigger scores_changed; bool valid; - std::vector last_text; + std::set seen_topscore; public: Top10ScoreScreen(pqxx::connection &conn, unsigned tournament); @@ -25,6 +23,7 @@ public: bool check_invalidated(); void draw(unsigned char *buf); + int get_priority(); }; #endif /* !defined(_TOP10SCORESCREEN_H) */