summaryrefslogtreecommitdiffstats
path: root/src/tk/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tk/widget.h')
-rw-r--r--src/tk/widget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tk/widget.h b/src/tk/widget.h
index 047dd6d..1ac5f46 100644
--- a/src/tk/widget.h
+++ b/src/tk/widget.h
@@ -21,6 +21,7 @@
#define MFTK_WIDGET_H_
#include <SDL.h>
+#include <stdarg.h>
struct mftk_widget {
int w;
@@ -49,6 +50,10 @@ mftk_widget_new(size_t size);
t_w = (struct mftk_##name *) w; \
} while (0)
+struct mftk_widget *
+mftk_grid_new_a(int rows, int cols, int row_spacing, int col_spacing,
+ struct mftk_widget **children);
+
enum mftk_check_shape {
MFTK_CHECK_SHAPE_BOX,
MFTK_CHECK_SHAPE_CIR