(RMenu) Take out SETTING_FONT_SIZE

This commit is contained in:
twinaphex 2013-09-27 20:32:29 +02:00
parent 2ddbbcd85e
commit e58cec4f05
3 changed files with 1 additions and 22 deletions

View File

@ -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;

View File

@ -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)

View File

@ -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,