(XMB) Add some comments

This commit is contained in:
twinaphex 2019-05-12 07:12:41 +02:00
parent 64f9477ef6
commit 8cf34c3fe6

View File

@ -1237,6 +1237,8 @@ static void xmb_selection_pointer_changed(
}
else
{
/* Move up/down animation */
menu_animation_ctx_entry_t anim_entry;
anim_entry.duration = XMB_DELAY;
@ -1684,6 +1686,8 @@ static void xmb_list_switch_horizontal_list(xmb_handle_t *xmb)
iz = xmb->categories_active_zoom;
}
/* Horizontal icon animation */
entry.duration = XMB_DELAY;
entry.target_value = ia;
entry.subject = &node->alpha;
@ -2071,6 +2075,8 @@ static void xmb_list_open(xmb_handle_t *xmb)
xmb_list_open_new(xmb, selection_buf,
dir, selection);
/* Menu opening animation */
entry.duration = XMB_DELAY;
entry.target_value = xmb->icon_size * -(xmb->depth*2-2);
entry.subject = &xmb->x;