From be707fe444c7d21b4cb6605c876e345ea4c7cb88 Mon Sep 17 00:00:00 2001 From: Don Honerbrink Date: Thu, 8 Jan 2015 14:13:48 +0000 Subject: [PATCH] Forgot to save menu static const ints in PageBuilder.cpp --- RetroFE/Source/Graphics/PageBuilder.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RetroFE/Source/Graphics/PageBuilder.cpp b/RetroFE/Source/Graphics/PageBuilder.cpp index 3c7532d..3c5d7a8 100644 --- a/RetroFE/Source/Graphics/PageBuilder.cpp +++ b/RetroFE/Source/Graphics/PageBuilder.cpp @@ -39,6 +39,12 @@ using namespace rapidxml; +static const int MENU_FIRST = 0; // first visible item in the list +static const int MENU_LAST = -3; // last visible item in the list +static const int MENU_START = -1; // first item transitions here after it scrolls "off the menu/screen" +static const int MENU_END = -2; // last item transitions here after it scrolls "off the menu/screen" +static const int MENU_CENTER = -4; + //todo: this file is starting to become a god class of building. Consider splitting into sub-builders PageBuilder::PageBuilder(std::string layoutKey, std::string collection, Configuration &c, FontCache *fc) : LayoutKey(layoutKey)