example implementation of using the menu driver to display the OSD, commented out

This commit is contained in:
radius 2016-05-07 19:51:42 -05:00
parent 6999322a53
commit be3f0f9267

View File

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