summaryrefslogtreecommitdiffstats
path: root/src/tk.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-05 20:23:50 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-05 23:28:12 (EDT)
commita42ea8a19ab40a02c0c46b2d60ced87c5da1f7eb (patch)
treef43aadd4c8b064b4692a3e412a9ece3f925a41e6 /src/tk.h
parent9da87b6829205774ab08d46253ae5ca39723ef5e (diff)
downloadmazefight-a42ea8a19ab40a02c0c46b2d60ced87c5da1f7eb.zip
mazefight-a42ea8a19ab40a02c0c46b2d60ced87c5da1f7eb.tar.gz
mazefight-a42ea8a19ab40a02c0c46b2d60ced87c5da1f7eb.tar.bz2
tk: Add text widget (without event handling)
Diffstat (limited to 'src/tk.h')
-rw-r--r--src/tk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tk.h b/src/tk.h
index 3e22de0..5346d87 100644
--- a/src/tk.h
+++ b/src/tk.h
@@ -81,6 +81,10 @@ mftk_radio_new(int butn_width, int butn_padding, SDL_Color *butn_color,
SDL_Renderer *renderer, int state, int options, ...);
struct mftk_widget *
+mftk_text_new(char min_char, char max_char, size_t len, const char *val,
+ TTF_Font *font, SDL_Color *color);
+
+struct mftk_widget *
mftk_blank_new(void);
#endif /* MFTK_H_ */