summaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-01-29 03:01:08 (EST)
committer P. J. McDermott <pj@pehjota.net>2022-01-29 03:01:08 (EST)
commit7d54dc4b520c2193a2f9517df469a0df4257e4e5 (patch)
tree365224a5e1308ea533ac36cac5018e94b610d053 /src/game.c
parent75fcdd36c96975a5a97b1cd41484cc2498b8c660 (diff)
downloadmazefight-7d54dc4b520c2193a2f9517df469a0df4257e4e5.zip
mazefight-7d54dc4b520c2193a2f9517df469a0df4257e4e5.tar.gz
mazefight-7d54dc4b520c2193a2f9517df469a0df4257e4e5.tar.bz2
tk: Add border with focus indication to text
More visible (and consistent with the rest of the UI changes) than just the cursor.
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index 1768a1a..237e126 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,7 +53,7 @@ _mf_game_form(SDL_Renderer *renderer, TTF_Font *text_font,
struct _mf_game *game)
{
game->timer = mftk_text_new(MF_DIGITS ":", 5, "00:00", text_font,
- SDL_FALSE, NULL, NULL, NULL);
+ MF_BTN_B, SDL_FALSE, NULL, NULL, NULL);
return mftk_grid_new(2, 1, MF_ROW_M, MF_COL_M,
game->timer,
MFTK_GRID_HALIGN_R|MFTK_GRID_VALIGN_T,