From a194b1e9ed5d9049a9786ca91340fbae75aa08f6 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Aug 2021 14:02:13 -0400 Subject: menu, game: Rename macros --- (limited to 'src/defs.h') diff --git a/src/defs.h b/src/defs.h index 732630c..8a4ea63 100644 --- a/src/defs.h +++ b/src/defs.h @@ -24,22 +24,23 @@ #define MF_WINDOW_W 640 /* Window width */ #define MF_WINDOW_H 480 /* Window height */ -/* Splash menu */ -#define MF_SPLASH_MAZE_CELL_W 16 /* Background maze cell width */ -#define MF_SPLASH_WINDOW_P 24 /* Window padding */ -#define MF_SPLASH_FORM_P 24 /* Form padding */ -#define MF_SPLASH_TITLE_M 24 /* Margin under title */ -#define MF_SPLASH_ROW_M 16 /* Margin between rows */ -#define MF_SPLASH_COL_M 16 /* Margin between labels and entries */ -#define MF_SPLASH_LBL_M 8 /* Margin between radio buttons and labels */ -#define MF_SPLASH_CHK_BTN_W 16 /* Radio button and check box width */ -#define MF_SPLASH_CHK_BTN_P 2 /* Radio button and check box padding */ -#define MF_SPLASH_CHK_LBL_P 8 /* Radio button and check box label pad */ -#define MF_SPLASH_CHK_ITM_P 8 /* Radio button and check box label pad */ -#define MF_SPLASH_BTN_M 8 /* Margin between buttons */ -#define MF_SPLASH_BTN_P 8 /* Button padding */ -#define MF_SPLASH_TITLE_FONT_S 48 /* Title font size */ -#define MF_SPLASH_TEXT_FONT_S 16 /* Regular text font size */ +/* Menu maze */ +#define MF_MENU_MAZE_CELL_W 16 /* Background maze cell width */ + +/* Form dimensions */ +#define MF_FORM_P 24 /* Form padding */ +#define MF_TITLE_M 24 /* Margin under title */ +#define MF_ROW_M 16 /* Margin between rows */ +#define MF_COL_M 16 /* Margin between labels and entries */ +#define MF_LBL_M 8 /* Margin between radio buttons and labels */ +#define MF_CHK_BTN_W 16 /* Radio button and check box width */ +#define MF_CHK_BTN_P 2 /* Radio button and check box padding */ +#define MF_CHK_LBL_P 8 /* Radio button and check box label pad */ +#define MF_CHK_ITM_P 8 /* Radio button and check box label pad */ +#define MF_BTN_M 8 /* Margin between buttons */ +#define MF_BTN_P 8 /* Button padding */ +#define MF_TITLE_FONT_S 48 /* Title font size */ +#define MF_TEXT_FONT_S 16 /* Regular text font size */ /* Colors */ #define MF_COLOR_BACK_R 0xAF /* Background color */ -- cgit v0.9.1