mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
(XMB) Cleanups #3
This commit is contained in:
parent
11313a6bb4
commit
d3fbf351ed
@ -1072,21 +1072,6 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
menu_animation_ticker_line(name, 35,
|
|
||||||
frame_count / 20, entry.path,
|
|
||||||
(i == current));
|
|
||||||
|
|
||||||
xmb_draw_text(menu, xmb, name,
|
|
||||||
node->x + xmb->margins.screen.left +
|
|
||||||
xmb->icon.spacing.horizontal + xmb->margins.label.left,
|
|
||||||
xmb->margins.screen.top + node->y + xmb->margins.label.top,
|
|
||||||
1, node->label_alpha, TEXT_ALIGN_LEFT);
|
|
||||||
|
|
||||||
menu_animation_ticker_line(value, 35,
|
|
||||||
frame_count / 20, entry.value,
|
|
||||||
(i == current));
|
|
||||||
|
|
||||||
switch (hash_value)
|
switch (hash_value)
|
||||||
{
|
{
|
||||||
case MENU_VALUE_COMP:
|
case MENU_VALUE_COMP:
|
||||||
@ -1116,6 +1101,21 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
menu_animation_ticker_line(name, 35,
|
||||||
|
frame_count / 20, entry.path,
|
||||||
|
(i == current));
|
||||||
|
|
||||||
|
xmb_draw_text(menu, xmb, name,
|
||||||
|
node->x + xmb->margins.screen.left +
|
||||||
|
xmb->icon.spacing.horizontal + xmb->margins.label.left,
|
||||||
|
xmb->margins.screen.top + node->y + xmb->margins.label.top,
|
||||||
|
1, node->label_alpha, TEXT_ALIGN_LEFT);
|
||||||
|
|
||||||
|
menu_animation_ticker_line(value, 35,
|
||||||
|
frame_count / 20, entry.value,
|
||||||
|
(i == current));
|
||||||
|
|
||||||
|
|
||||||
if (do_draw_text)
|
if (do_draw_text)
|
||||||
xmb_draw_text(menu, xmb, value,
|
xmb_draw_text(menu, xmb, value,
|
||||||
node->x + xmb->margins.screen.left + xmb->icon.spacing.horizontal +
|
node->x + xmb->margins.screen.left + xmb->icon.spacing.horizontal +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user