mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-01 17:23:48 +00:00
(RMenu) Take out SETTING_FONT_SIZE
This commit is contained in:
parent
2ddbbcd85e
commit
e58cec4f05
@ -2689,6 +2689,7 @@ static int rgui_iterate(void *data, unsigned action)
|
||||
return rgui_settings_iterate(rgui, action);
|
||||
else if (menu_type == RGUI_SETTINGS_CUSTOM_VIEWPORT || menu_type == RGUI_SETTINGS_CUSTOM_VIEWPORT_2)
|
||||
return rgui_viewport_iterate(rgui, action);
|
||||
|
||||
if (rgui->need_refresh && action != RGUI_ACTION_MESSAGE)
|
||||
action = RGUI_ACTION_NOOP;
|
||||
|
||||
|
@ -1137,23 +1137,6 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case SETTING_FONT_SIZE:
|
||||
switch (action)
|
||||
{
|
||||
case RGUI_ACTION_LEFT:
|
||||
if (g_settings.video.font_size > 0)
|
||||
g_settings.video.font_size -= 0.01f;
|
||||
break;
|
||||
case RGUI_ACTION_RIGHT:
|
||||
case RGUI_ACTION_OK:
|
||||
if ((g_settings.video.font_size < 2.0f))
|
||||
g_settings.video.font_size += 0.01f;
|
||||
break;
|
||||
case RGUI_ACTION_START:
|
||||
g_settings.video.font_size = 1.0f;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case SETTING_ASPECT_RATIO:
|
||||
switch (action)
|
||||
{
|
||||
@ -2117,10 +2100,6 @@ static int select_setting(void *data, uint64_t action)
|
||||
strlcpy(text, "Menu Skin", sizeof(text));
|
||||
strlcpy(setting_text, fname, sizeof(setting_text));
|
||||
break;
|
||||
case SETTING_FONT_SIZE:
|
||||
strlcpy(text, "Font Size", sizeof(text));
|
||||
snprintf(setting_text, sizeof(setting_text), "%f", g_settings.video.font_size);
|
||||
break;
|
||||
case SETTING_HW_TEXTURE_FILTER:
|
||||
strlcpy(text, "Default Filter", sizeof(text));
|
||||
if (g_settings.video.smooth)
|
||||
|
@ -74,7 +74,6 @@ enum
|
||||
{
|
||||
SETTING_REWIND_ENABLED,
|
||||
SETTING_REWIND_GRANULARITY,
|
||||
SETTING_FONT_SIZE,
|
||||
SETTING_EMU_SHOW_DEBUG_INFO_MSG,
|
||||
SETTING_EMU_SHOW_INFO_MSG,
|
||||
SETTING_EMU_SKIN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user