Touchline shouts of the live match: one compact button per shout (Shift+1 .. Shift+0,...
Definition match_shouts_bar.cpp:25
std::string keyName(std::size_t index)
Key (chord) that gives the shout at index, e.g. "Shift+1".
Definition match_shouts_bar.cpp:71
bool shout(const TouchlineContext &context, std::size_t index)
Gives the shout at index of MatchChanges::SHOUTS and notes it in the HUD status; false when shouts ar...
Definition match_shouts_bar.cpp:97
float height(float width)
Height of the bar at width (it wraps onto more rows).
Definition match_shouts_bar.cpp:87
int indexForScancode(int scancode)
Shout slot of a Shift+key press by physical key (the number row, then the key right of 0),...
Definition match_shouts_bar.cpp:62
bool available(const MatchEngine &engine)
Shouts can be given now (the match is being played).
Definition match_shouts_bar.cpp:80
void render(const TouchlineContext &context, float width)
Draws the bar in the current window, width wide.
Definition match_shouts_bar.cpp:108
What the matchday dialogs act on: the live engine and the managed side, plus the match HUD's status l...
Definition match_touchline.h:27