From cb3b7ebef98b356da95bdb1c5b0200f9703f818e Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sat, 1 Jun 2024 13:48:27 -0400 Subject: [PATCH] Re-add DJUI scale above 1.0 --- src/pc/djui/djui_gfx.c | 4 ++-- src/pc/djui/djui_panel_menu_options.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pc/djui/djui_gfx.c b/src/pc/djui/djui_gfx.c index 1836e751..bae53821 100644 --- a/src/pc/djui/djui_gfx.c +++ b/src/pc/djui/djui_gfx.c @@ -58,8 +58,8 @@ f32 djui_gfx_get_scale(void) { } else { switch (configDjuiScale) { case 1: return 0.5f; - case 2: return 0.85f; - case 3: return 1.0f; + case 2: return 1.0f; + case 3: return 1.5f; default: return 1.0f; } } diff --git a/src/pc/djui/djui_panel_menu_options.c b/src/pc/djui/djui_panel_menu_options.c index 0076b551..6f99789d 100644 --- a/src/pc/djui/djui_panel_menu_options.c +++ b/src/pc/djui/djui_panel_menu_options.c @@ -77,8 +77,8 @@ void djui_panel_main_menu_create(struct DjuiBase* caller) { themeChoices[i] = (char*)gDjuiThemes[i]->name; } djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_THEME), themeChoices, DJUI_THEME_MAX, &configDjuiTheme, djui_panel_misc_djui_setting_change); - char* djuiScaleChoices[4] = {DLANG(DJUI_THEMES, AUTO), "x0.5", "x0.85", "x1.0"}; - djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_SCALE), djuiScaleChoices, 4, &configDjuiScale, djui_panel_misc_djui_setting_change); + char* djuiScaleChoices[4] = {DLANG(DJUI_THEMES, AUTO), "x0.5", "x1.0", "x1.5"}; + djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_SCALE), djuiScaleChoices, 5, &configDjuiScale, djui_panel_misc_djui_setting_change); char* djuiFontChoices[2] = {DLANG(DJUI_THEMES, FONT_NORMAL), DLANG(DJUI_THEMES, FONT_ALIASED)}; djui_selectionbox_create(body, DLANG(DJUI_THEMES, DJUI_FONT), djuiFontChoices, 2, &configDjuiThemeFont, djui_panel_misc_djui_setting_change);