mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(XUI) Update labels
This commit is contained in:
parent
10bee2c6b0
commit
5440704503
@ -566,6 +566,7 @@ static void rmenu_xui_render(void *data)
|
|||||||
strlcpy(entry_title_buf, path, sizeof(entry_title_buf));
|
strlcpy(entry_title_buf, path, sizeof(entry_title_buf));
|
||||||
strlcpy(type_str_buf, type_str, sizeof(type_str_buf));
|
strlcpy(type_str_buf, type_str, sizeof(type_str_buf));
|
||||||
|
|
||||||
|
|
||||||
if ((type == RGUI_FILE_PLAIN || type == RGUI_FILE_DIRECTORY))
|
if ((type == RGUI_FILE_PLAIN || type == RGUI_FILE_DIRECTORY))
|
||||||
menu_ticker_line(entry_title_buf, RXUI_TERM_WIDTH - (w + 1 + 2), g_extern.frame_count / 15, path, selected);
|
menu_ticker_line(entry_title_buf, RXUI_TERM_WIDTH - (w + 1 + 2), g_extern.frame_count / 15, path, selected);
|
||||||
else
|
else
|
||||||
@ -578,6 +579,9 @@ static void rmenu_xui_render(void *data)
|
|||||||
w,
|
w,
|
||||||
type_str_buf);
|
type_str_buf);
|
||||||
|
|
||||||
|
wchar_t msg_w[256];
|
||||||
|
mbstowcs(msg_w, message, sizeof(msg_w) / sizeof(wchar_t));
|
||||||
|
XuiListSetText(m_menulist, selected, msg_w);
|
||||||
blit_line(rgui, x, y, message, selected);
|
blit_line(rgui, x, y, message, selected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user