]> git.sesse.net Git - ccbs/blobdiff - bigscreen/groupscreen.h
Add beginning code for fetching groups.
[ccbs] / bigscreen / groupscreen.h
diff --git a/bigscreen/groupscreen.h b/bigscreen/groupscreen.h
new file mode 100644 (file)
index 0000000..c794f60
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef _GROUPSCREEN_H
+#define _GROUPSCREEN_H 1
+
+#include "flagtrigger.h"
+#include "group.h"
+
+/* A screen class showing a group in the tournament */
+class GroupScreen : public Screen {
+private:
+       unsigned tournament;
+       FlagTrigger scores_changed;
+       
+
+public:
+       Screen(unsigned tournament);
+
+       bool check_invalidated();
+       void draw(unsigned char *buf);
+};
+
+#endif /* !defined(_GROUPSCREEN_H) */