Merge pull request #1178 from lakkatv/xmb

Xmb
This commit is contained in:
Twinaphex 2014-10-22 01:42:56 +02:00
commit 51122cad6d

View File

@ -400,7 +400,7 @@ static void xmb_selection_pointer_changed(void)
static void xmb_list_open_old(file_list_t *list, int dir, size_t current)
{
unsigned i;
int i;
xmb_handle_t *xmb = (xmb_handle_t*)driver.menu->userdata;
if (!xmb)
@ -423,7 +423,7 @@ static void xmb_list_open_old(file_list_t *list, int dir, size_t current)
static void xmb_list_open_new(file_list_t *list, int dir, size_t current)
{
unsigned i;
int i;
xmb_handle_t *xmb = (xmb_handle_t*)driver.menu->userdata;
if (!xmb)
@ -583,12 +583,19 @@ static void xmb_draw_items(file_list_t *list, file_list_t *stack, size_t current
menu_ticker_line(value, 35, g_extern.frame_count / 20, val_buf,
(i == current));
xmb_draw_text(value,
node->x + xmb->margin_left + xmb->hspacing +
xmb->label_margin_left + xmb->setting_margin_left,
xmb->margin_top + node->y + xmb->label_margin_top,
1,
node->label_alpha);
if(
strcmp(val_buf, "...")
&& strcmp(val_buf, "(CORE)")
&& strcmp(val_buf, "(FILE)")
&& strcmp(val_buf, "(DIR)")
&& strcmp(val_buf, "(COMP)")
)
xmb_draw_text(value,
node->x + xmb->margin_left + xmb->hspacing +
xmb->label_margin_left + xmb->setting_margin_left,
xmb->margin_top + node->y + xmb->label_margin_top,
1,
node->label_alpha);
}
}