From f5ad979f9c770105b8398c4c7f6971f67ef6e922 Mon Sep 17 00:00:00 2001 From: emb <> Date: Fri, 30 Jan 2015 23:42:42 -0600 Subject: [PATCH] Updated layout to use list view for sublist. Adjusted scroll speed. --- .../Common/Layouts/Default 16x9/Layout.xml | 20 +++++++++---------- .../Graphics/Component/ScrollingList.cpp | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Package/Environment/Common/Layouts/Default 16x9/Layout.xml b/Package/Environment/Common/Layouts/Default 16x9/Layout.xml index c65b501..b73d0b4 100644 --- a/Package/Environment/Common/Layouts/Default 16x9/Layout.xml +++ b/Package/Environment/Common/Layouts/Default 16x9/Layout.xml @@ -24,43 +24,43 @@ - + - + - + - + - + - - - - - + + + + + diff --git a/RetroFE/Source/Graphics/Component/ScrollingList.cpp b/RetroFE/Source/Graphics/Component/ScrollingList.cpp index 988ac6e..d2eb849 100644 --- a/RetroFE/Source/Graphics/Component/ScrollingList.cpp +++ b/RetroFE/Source/Graphics/Component/ScrollingList.cpp @@ -386,7 +386,7 @@ void ScrollingList::Update(float dt) } else if(CurrentScrollState == ScrollStateIdle && readyToScroll) { - ScrollPeriod = 0.500; + ScrollPeriod = 0.250; // check to see if requested to scroll if(RequestedScrollDirection != ScrollDirectionIdle) { @@ -426,10 +426,10 @@ void ScrollingList::Update(float dt) else if(CurrentScrollState == ScrollStateActive) { - ScrollPeriod -= 0.050f; - if(ScrollPeriod < 0.050) + ScrollPeriod -= 0.075f; + if(ScrollPeriod < 0) { - ScrollPeriod = 0.050f; + ScrollPeriod = 0.00f; } Click(ScrollPeriod);