(Menu) Rename some more functions with prefix rgui_

This commit is contained in:
twinaphex 2013-11-08 04:43:42 +01:00
parent f8c37fc933
commit 4ab64bcd8f
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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