void CGUIBaseContainer::OnLeft() { bool wrapAround = m_actionLeft.GetNavigation() == GetID() || !m_actionLeft.HasActionsMeetingCondition(); if (m_orientation == HORIZONTAL && MoveUp(wrapAround)) return; else if (m_orientation == VERTICAL) { CGUIListItemLayout *focusedLayout = GetFocusedLayout(); if (focusedLayout && focusedLayout->MoveLeft()) return; } CGUIControl::OnLeft(); }
void CGUIBaseContainer::OnLeft() { bool wrapAround = m_controlLeft == GetID() || !(m_controlLeft || m_leftActions.size()); if (m_orientation == HORIZONTAL && MoveUp(wrapAround)) return; else if (m_orientation == VERTICAL) { CGUIListItemLayout *focusedLayout = GetFocusedLayout(); if (focusedLayout && focusedLayout->MoveLeft()) return; } CGUIControl::OnLeft(); }