summaryrefslogtreecommitdiffstats
path: root/src/tk.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-04 21:01:30 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-04 21:07:07 (EDT)
commit4290eee6d45aab8e9f1c47d5d7d35e9ceccd78b2 (patch)
treec2e7871158c55a389055ba1d0a8e03244600fa79 /src/tk.h
parentddf513909ce1742021b9c57ea7279a61aeda4899 (diff)
downloadmazefight-4290eee6d45aab8e9f1c47d5d7d35e9ceccd78b2.zip
mazefight-4290eee6d45aab8e9f1c47d5d7d35e9ceccd78b2.tar.gz
mazefight-4290eee6d45aab8e9f1c47d5d7d35e9ceccd78b2.tar.bz2
tk: Add box widget
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 2a4706d..8cc65ce 100644
--- a/src/tk.h
+++ b/src/tk.h
@@ -56,4 +56,8 @@ mftk_button_new(TTF_Font *font, const char *text, SDL_Color *text_color,
struct mftk_widget *
mftk_grid_new(int rows, int cols, int row_spacing, int col_spacing, ...);
+struct mftk_widget *
+mftk_box_new(int container_w, int container_h, int own_w, int own_h,
+ int padding, SDL_Color *bg_color, struct mftk_widget *child);
+
#endif /* MFTK_H_ */