mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-26 20:55:39 +00:00
example implementation of using the menu driver to display the OSD, commented out
This commit is contained in:
parent
6999322a53
commit
be3f0f9267
@ -2066,10 +2066,19 @@ static void xmb_frame(void *data)
|
||||
xmb->margins.title.top, 1, 1, TEXT_ALIGN_LEFT,
|
||||
width, height);
|
||||
|
||||
if (menu_entries_get_core_title(title_msg, sizeof(title_msg)) == 0)
|
||||
xmb_draw_text(xmb, title_msg, xmb->margins.title.left,
|
||||
height - xmb->margins.title.bottom, 1, 1, TEXT_ALIGN_LEFT,
|
||||
width, height);
|
||||
/* uncomment to print the messages on the XMB status line
|
||||
if (string_is_empty(runloop_msg_queue_pull()))
|
||||
{*/
|
||||
if (menu_entries_get_core_title(title_msg, sizeof(title_msg)) == 0)
|
||||
xmb_draw_text(xmb, title_msg, xmb->margins.title.left,
|
||||
height - xmb->margins.title.bottom, 1, 1, TEXT_ALIGN_LEFT,
|
||||
width, height);
|
||||
/* }
|
||||
else
|
||||
xmb_draw_text(xmb, runloop_msg_queue_pull(), xmb->margins.title.left,
|
||||
height - xmb->margins.title.bottom, 1, 1, TEXT_ALIGN_LEFT,
|
||||
width, height);
|
||||
*/
|
||||
|
||||
rotate_draw.matrix = &mymat;
|
||||
rotate_draw.rotation = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user