From b07cd912a0fad6989ecc8f4ad9fba889535e9a02 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 15 Apr 2022 01:19:40 +0200 Subject: [PATCH] added using left and right spacing on score info page --- src/screens.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/screens.c b/src/screens.c index 6d409c44..4937d2ce 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5416,10 +5416,11 @@ static void DrawScoreInfo_Content(int entry_nr) int ystep_title = getMenuTextStep(spacing_title, font_title); int ystep_para = getMenuTextStep(spacing_para, font_text); int ystep_line = getMenuTextStep(spacing_line, font_text); + int xstart = mSX - SX + menu.left_spacing[GAME_MODE_SCOREINFO]; int ystart = mSY - SY + menu.top_spacing[GAME_MODE_SCOREINFO]; int ybottom = mSY - SY + SYSIZE - menu.bottom_spacing[GAME_MODE_SCOREINFO]; - int xstart1 = mSX - SX + 2 * xstep; - int xstart2 = mSX - SX + 13 * xstep; + int xstart1 = xstart + xstep; + int xstart2 = xstart + xstep * 12; int select_x = SX + xstart1; int select_y1, select_y2; int play_x, play_y; @@ -5429,7 +5430,7 @@ static void DrawScoreInfo_Content(int entry_nr) int font_height = getFontHeight(font_text); int tape_date_width = getTextWidth(tape_date, font_text); int pad_left = xstart2; - int pad_right = MENU_SCREEN_INFO_SPACE_RIGHT; + int pad_right = menu.right_spacing[GAME_MODE_SCOREINFO]; int max_chars_per_line = (SXSIZE - pad_left - pad_right) / font_width; int max_lines_per_text = 5; int lines; -- 2.34.1