summaryrefslogtreecommitdiffstats
path: root/src/tk.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-04 19:06:24 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-04 19:06:24 (EDT)
commit8cdfd577b4f7d70acddde353b600559010ea6d39 (patch)
treee1e9afc6b15e72e5f2e729d3c1785696d4327f04 /src/tk.h
parent614d914e31f36d751d96309a64953c1f405a33d3 (diff)
downloadmazefight-8cdfd577b4f7d70acddde353b600559010ea6d39.zip
mazefight-8cdfd577b4f7d70acddde353b600559010ea6d39.tar.gz
mazefight-8cdfd577b4f7d70acddde353b600559010ea6d39.tar.bz2
tk: Add grid widget
Diffstat (limited to 'src/tk.h')
-rw-r--r--src/tk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tk.h b/src/tk.h
index c41b194..7a3c9c6 100644
--- a/src/tk.h
+++ b/src/tk.h
@@ -53,4 +53,7 @@ mftk_button_new(TTF_Font *font, const char *text, SDL_Color *text_color,
SDL_Color *fill_color, int padding,
int (*action)(void *), void *user_data, SDL_Renderer *renderer);
+struct mftk_widget *
+mftk_grid_new(int rows, int cols, int row_spacing, int col_spacing, ...);
+
#endif /* MFTK_H_ */