/* 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;
std::vector<TextDefer> 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();
- void draw(unsigned char *buf);
+ void draw(unsigned char *buf, unsigned width, unsigned height);
+ int get_priority();
};
#endif /* !defined(_GROUPSCREEN_H) */