diff options
Diffstat (limited to 'src/tk.h')
-rw-r--r-- | src/tk.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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, ...); |