diff options
Diffstat (limited to 'unequal.c')
| -rw-r--r-- | unequal.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1470,6 +1470,14 @@ static void game_changed_state(game_ui *ui, const game_state *oldstate, } } +static const char *current_key_label(const game_ui *ui, + const game_state *state, int button) +{ + if (ui->hshow && IS_CURSOR_SELECT(button)) + return ui->hpencil ? "Ink" : "Pencil"; + return ""; +} + struct game_drawstate { int tilesize, order; bool started; @@ -2139,6 +2147,7 @@ const struct game thegame = { decode_ui, game_request_keys, game_changed_state, + current_key_label, interpret_move, execute_move, PREFERRED_TILE_SIZE, game_compute_size, game_set_size, |