mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(Menu) Rename some more functions with prefix rgui_
This commit is contained in:
parent
f8c37fc933
commit
4ab64bcd8f
@ -905,7 +905,7 @@ static int menu_settings_iterate(rgui_handle_t *rgui, unsigned action)
|
||||
}
|
||||
else
|
||||
{
|
||||
int ret = rgui_settings_toggle_setting(rgui, type, action, menu_type);
|
||||
int ret = menu_settings_toggle_setting(rgui, type, action, menu_type);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
@ -371,7 +371,7 @@ bool menu_replace_config(const char *path);
|
||||
|
||||
bool menu_save_new_config(void);
|
||||
|
||||
int rgui_settings_toggle_setting(rgui_handle_t *rgui, unsigned setting, unsigned action, unsigned menu_type);
|
||||
int menu_settings_toggle_setting(rgui_handle_t *rgui, unsigned setting, unsigned action, unsigned menu_type);
|
||||
int menu_set_settings(void *data, unsigned setting, unsigned action);
|
||||
void menu_set_settings_label(char *type_str, size_t type_str_size, unsigned *w, unsigned type);
|
||||
|
||||
|
@ -245,7 +245,7 @@ static int shader_manager_toggle_setting(rgui_handle_t *rgui, unsigned setting,
|
||||
}
|
||||
#endif
|
||||
|
||||
static int rgui_core_setting_toggle(unsigned setting, rgui_action_t action)
|
||||
static int menu_core_setting_toggle(unsigned setting, rgui_action_t action)
|
||||
{
|
||||
unsigned index = setting - RGUI_SETTINGS_CORE_OPTION_START;
|
||||
switch (action)
|
||||
@ -270,14 +270,14 @@ static int rgui_core_setting_toggle(unsigned setting, rgui_action_t action)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int rgui_settings_toggle_setting(rgui_handle_t *rgui, unsigned setting, rgui_action_t action, unsigned menu_type)
|
||||
int menu_settings_toggle_setting(rgui_handle_t *rgui, unsigned setting, rgui_action_t action, unsigned menu_type)
|
||||
{
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
if (setting >= RGUI_SETTINGS_SHADER_FILTER && setting <= RGUI_SETTINGS_SHADER_LAST)
|
||||
return shader_manager_toggle_setting(rgui, setting, action);
|
||||
#endif
|
||||
if (setting >= RGUI_SETTINGS_CORE_OPTION_START)
|
||||
return rgui_core_setting_toggle(setting, action);
|
||||
return menu_core_setting_toggle(setting, action);
|
||||
|
||||
return menu_set_settings(rgui, setting, action);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user