(Menu Widgets) Add comment notifying that OZONE_SIDEBAR_WIDTH must be kept in sync between menu_widgets.c and ozone.h

This commit is contained in:
jdgleaver 2020-02-13 18:20:49 +00:00
parent e8a2a39d72
commit 3f34f5072f
2 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,8 @@ typedef struct ozone_handle ozone_handle_t;
#define ENTRY_ICON_SIZE 46
#define ENTRY_ICON_PADDING 15
/* > 'SIDEBAR_WIDTH' must be kept in sync with
* menu widgets metrics */
#define SIDEBAR_WIDTH 408
#define SIDEBAR_X_PADDING 40
#define SIDEBAR_Y_PADDING 20

View File

@ -290,6 +290,8 @@ static char libretro_message[LIBRETRO_MESSAGE_SIZE] = {'\0'};
/* Metrics */
#define BASE_FONT_SIZE 32.0f
/* > 'OZONE_SIDEBAR_WIDTH' must be kept in sync
* with ozone menu driver metrics */
#define OZONE_SIDEBAR_WIDTH 408
static bool is_ozone;