summaryrefslogtreecommitdiffstats
path: root/src/tk.h
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/tk.h
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/tk.h')
-rw-r--r--src/tk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tk.h b/src/tk.h
index e99d23f..b7b001c 100644
--- a/src/tk.h
+++ b/src/tk.h
@@ -73,7 +73,7 @@ mftk_radio_new(int butn_width, int butn_padding, int butn_border,
struct mftk_widget *
mftk_text_new(const char *allowed_chars, int len, const char *val,
- TTF_Font *font, int editable,
+ TTF_Font *font, int border, int editable,
int (*action)(void *, const char *), int (*submit)(void *),
void *user_data);