summaryrefslogtreecommitdiffstats
path: root/src/tk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tk.h')
-rw-r--r--src/tk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tk.h b/src/tk.h
index c7c5a51..28533e9 100644
--- a/src/tk.h
+++ b/src/tk.h
@@ -76,7 +76,8 @@ mftk_radio_new(int butn_width, int butn_padding, SDL_Color *butn_color,
struct mftk_widget *
mftk_text_new(char min_char, char max_char, int len, const char *val,
- TTF_Font *font, SDL_Color *color);
+ TTF_Font *font, SDL_Color *color,
+ int (*action)(void *, const char *), void *user_data);
struct mftk_widget *
mftk_blank_new(void);