summaryrefslogtreecommitdiffstats
path: root/src/tk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tk.h')
-rw-r--r--src/tk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tk.h b/src/tk.h
index 8c72d20..3e22de0 100644
--- a/src/tk.h
+++ b/src/tk.h
@@ -53,6 +53,12 @@ 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);
+#define MFTK_GRID_HALIGN_L 1
+#define MFTK_GRID_HALIGN_C 2
+#define MFTK_GRID_HALIGN_R 4
+#define MFTK_GRID_VALIGN_T 8
+#define MFTK_GRID_VALIGN_M 16
+#define MFTK_GRID_VALIGN_B 32
struct mftk_widget *
mftk_grid_new(int rows, int cols, int row_spacing, int col_spacing, ...);