From e711049acb1d92a8297b05c8b92e25fa9477aa29 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Fri, 10 Jun 2016 16:19:00 +0200 Subject: [PATCH] Added "onEnter" event trigger after the splashpage has been replaced by the selected layout. --- RetroFE/Source/Graphics/Component/ScrollingList.cpp | 2 +- RetroFE/Source/RetroFE.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RetroFE/Source/Graphics/Component/ScrollingList.cpp b/RetroFE/Source/Graphics/Component/ScrollingList.cpp index acb3f8d..34d2785 100644 --- a/RetroFE/Source/Graphics/Component/ScrollingList.cpp +++ b/RetroFE/Source/Graphics/Component/ScrollingList.cpp @@ -51,7 +51,7 @@ ScrollingList::ScrollingList(Configuration &c, , spriteList_(NULL) , scrollPoints_(NULL) , tweenPoints_(NULL) - , focus_(false) + , focus_(true) , itemIndex_(0) , componentIndex_(0) , selectedOffsetIndex_(0) diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index e599080..2e57696 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -324,6 +324,7 @@ void RetroFE::run() mp.buildMenuItems(info, menuSort); currentPage_->pushCollection(info); + currentPage_->start(); state = RETROFE_ENTER; }