mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
Change menu_display_setting_label
This commit is contained in:
parent
049e570720
commit
e494165513
@ -303,6 +303,7 @@ static void glui_render_menu_list(runloop_t *runloop,
|
||||
char message[PATH_MAX_LENGTH], type_str[PATH_MAX_LENGTH],
|
||||
entry_title_buf[PATH_MAX_LENGTH], type_str_buf[PATH_MAX_LENGTH],
|
||||
path_buf[PATH_MAX_LENGTH];
|
||||
const char *entry_label = NULL;
|
||||
unsigned type = 0;
|
||||
unsigned w = 0;
|
||||
bool selected = false;
|
||||
@ -313,6 +314,7 @@ static void glui_render_menu_list(runloop_t *runloop,
|
||||
type_str, sizeof(type_str),
|
||||
path_buf, sizeof(path_buf),
|
||||
NULL, 0,
|
||||
entry_label,
|
||||
NULL);
|
||||
|
||||
selected = (i == menu->navigation.selection_ptr);
|
||||
|
@ -491,6 +491,7 @@ static void rgui_render(void)
|
||||
char message[PATH_MAX_LENGTH], type_str[PATH_MAX_LENGTH],
|
||||
entry_title_buf[PATH_MAX_LENGTH], type_str_buf[PATH_MAX_LENGTH],
|
||||
path_buf[PATH_MAX_LENGTH];
|
||||
const char *entry_label = NULL;
|
||||
unsigned type = 0;
|
||||
unsigned w = 0;
|
||||
bool selected = false;
|
||||
@ -501,6 +502,7 @@ static void rgui_render(void)
|
||||
type_str, sizeof(type_str),
|
||||
path_buf, sizeof(path_buf),
|
||||
NULL, 0,
|
||||
entry_label,
|
||||
NULL);
|
||||
|
||||
selected = (i == menu->navigation.selection_ptr);
|
||||
|
@ -1002,6 +1002,7 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
||||
char entry_label_buf[PATH_MAX_LENGTH];
|
||||
char type_str[PATH_MAX_LENGTH], path_buf[PATH_MAX_LENGTH];
|
||||
char name[PATH_MAX_LENGTH], value[PATH_MAX_LENGTH];
|
||||
const char *entry_label = NULL;
|
||||
unsigned type = 0;
|
||||
unsigned w = 0;
|
||||
GLuint icon = 0;
|
||||
@ -1029,6 +1030,7 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
||||
type_str, sizeof(type_str),
|
||||
path_buf, sizeof(path_buf),
|
||||
entry_label_buf, sizeof(entry_label_buf),
|
||||
entry_label,
|
||||
list);
|
||||
|
||||
if (type == MENU_FILE_CONTENTLIST_ENTRY)
|
||||
|
@ -214,9 +214,9 @@ void menu_display_setting_label(unsigned i,
|
||||
char *type_str, size_t sizeof_type_str,
|
||||
char *path_buf, size_t sizeof_path_buf,
|
||||
char *entry_label_buf, size_t sizeof_entry_label_buf,
|
||||
const char *entry_label,
|
||||
void *userdata)
|
||||
{
|
||||
const char *entry_label = NULL;
|
||||
const char *path = NULL;
|
||||
menu_file_list_cbs_t *cbs = NULL;
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
|
@ -59,6 +59,7 @@ void menu_display_setting_label(unsigned i,
|
||||
char *type_str, size_t sizeof_type_str,
|
||||
char *path_buf, size_t sizeof_path_buf,
|
||||
char *entry_label_buf, size_t sizeof_entry_label_buf,
|
||||
const char *entry_label,
|
||||
void *userdata);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user