mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-02-23 17:51:24 +01:00
Forgot to save menu static const ints in PageBuilder.cpp
This commit is contained in:
parent
5ef32c1da7
commit
be707fe444
@ -39,6 +39,12 @@
|
|||||||
|
|
||||||
using namespace rapidxml;
|
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
|
//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)
|
PageBuilder::PageBuilder(std::string layoutKey, std::string collection, Configuration &c, FontCache *fc)
|
||||||
: LayoutKey(layoutKey)
|
: LayoutKey(layoutKey)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user