From f1210cea09c85c5c972d691d38b3b59f2cdbb15f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 25 Sep 2021 13:05:52 -0400 Subject: tk/text: Replace min_char, max_char with callback --- (limited to 'src/tk.h') diff --git a/src/tk.h b/src/tk.h index c83ac9e..598b971 100644 --- a/src/tk.h +++ b/src/tk.h @@ -78,6 +78,7 @@ 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, int editable, + int (*allowed)(void *, char), int (*action)(void *, const char *), int (*submit)(void *), void *user_data); -- cgit v0.9.1