Rename some menu_list_ functions to menu_entries_
This commit is contained in:
parent
92a8736318
commit
47f63ad6f4
|
@ -2811,7 +2811,7 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||||
file_list_sort_on_alt(info->list);
|
file_list_sort_on_alt(info->list);
|
||||||
|
|
||||||
if (need_refresh)
|
if (need_refresh)
|
||||||
menu_list_refresh(info->list);
|
menu_entries_refresh(info->list);
|
||||||
|
|
||||||
if (need_push)
|
if (need_push)
|
||||||
{
|
{
|
||||||
|
|
|
@ -264,7 +264,7 @@ static int menu_list_elem_get_first_char(
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void menu_list_build_scroll_indices(file_list_t *list)
|
static void menu_entries_build_scroll_indices(file_list_t *list)
|
||||||
{
|
{
|
||||||
int current;
|
int current;
|
||||||
bool current_is_dir;
|
bool current_is_dir;
|
||||||
|
@ -303,7 +303,7 @@ static void menu_list_build_scroll_indices(file_list_t *list)
|
||||||
*
|
*
|
||||||
* Ensure it doesn't overflow.
|
* Ensure it doesn't overflow.
|
||||||
**/
|
**/
|
||||||
void menu_list_refresh(file_list_t *list)
|
void menu_entries_refresh(file_list_t *list)
|
||||||
{
|
{
|
||||||
size_t list_size, selection;
|
size_t list_size, selection;
|
||||||
menu_list_t *menu_list = menu_list_get_ptr();
|
menu_list_t *menu_list = menu_list_get_ptr();
|
||||||
|
@ -312,7 +312,7 @@ void menu_list_refresh(file_list_t *list)
|
||||||
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
menu_list_build_scroll_indices(list);
|
menu_entries_build_scroll_indices(list);
|
||||||
|
|
||||||
list_size = menu_list_get_size(menu_list);
|
list_size = menu_list_get_size(menu_list);
|
||||||
|
|
||||||
|
|
|
@ -172,7 +172,7 @@ void menu_entries_clear(file_list_t *list);
|
||||||
void menu_list_set_alt_at_offset(file_list_t *list, size_t idx,
|
void menu_list_set_alt_at_offset(file_list_t *list, size_t idx,
|
||||||
const char *alt);
|
const char *alt);
|
||||||
|
|
||||||
void menu_list_refresh(file_list_t *list);
|
void menu_entries_refresh(file_list_t *list);
|
||||||
|
|
||||||
rarch_setting_t *menu_entries_get_setting(uint32_t i);
|
rarch_setting_t *menu_entries_get_setting(uint32_t i);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue