Allow editing of play count metadata, changed to medium font size for editing popups and updated program description

This commit is contained in:
Leon Styhre 2020-05-16 14:21:36 +02:00
parent 4aa30017bf
commit 08a152db16
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ MetaDataDecl gameDecls[] = {
{"favorite", MD_BOOL, "false", false, "favorite", "enter favorite off/on"}, {"favorite", MD_BOOL, "false", false, "favorite", "enter favorite off/on"},
{"hidden", MD_BOOL, "false", false, "hidden", "enter hidden off/on" }, {"hidden", MD_BOOL, "false", false, "hidden", "enter hidden off/on" },
{"kidgame", MD_BOOL, "false", false, "kidgame", "enter kidgame off/on" }, {"kidgame", MD_BOOL, "false", false, "kidgame", "enter kidgame off/on" },
{"playcount", MD_INT, "0", true, "play count", "enter number of times played"}, {"playcount", MD_INT, "0", false, "play count", "enter number of times played"},
{"lastplayed", MD_TIME, "0", true, "last played", "enter last played date"} {"lastplayed", MD_TIME, "0", true, "last played", "enter last played date"}
}; };
const std::vector<MetaDataDecl> gameMDD(gameDecls, gameDecls + sizeof(gameDecls) / sizeof(gameDecls[0])); const std::vector<MetaDataDecl> gameMDD(gameDecls, gameDecls + sizeof(gameDecls) / sizeof(gameDecls[0]));

View file

@ -169,7 +169,7 @@ bool parseArgs(int argc, char* argv[])
freopen("CONOUT$", "wb", stdout); freopen("CONOUT$", "wb", stdout);
#endif #endif
std::cout << std::cout <<
"EmulationStation Desktop Edition, a graphical front-end for ROM browsing.\n" "EmulationStation Desktop Edition, an emulator front-end with controller navigation and theming support.\n"
"Version " << PROGRAM_VERSION_STRING << ", built " << PROGRAM_BUILT_STRING << "\n\n" "Version " << PROGRAM_VERSION_STRING << ", built " << PROGRAM_BUILT_STRING << "\n\n"
"Command line arguments:\n" "Command line arguments:\n"
"--resolution [width] [height] Try and force a particular resolution\n" "--resolution [width] [height] Try and force a particular resolution\n"

View file

@ -11,7 +11,7 @@ GuiTextEditPopup::GuiTextEditPopup(Window* window, const std::string& title, con
addChild(&mBackground); addChild(&mBackground);
addChild(&mGrid); addChild(&mGrid);
mTitle = std::make_shared<TextComponent>(mWindow, Utils::String::toUpper(title), Font::get(FONT_SIZE_LARGE), 0x555555FF, ALIGN_CENTER); mTitle = std::make_shared<TextComponent>(mWindow, Utils::String::toUpper(title), Font::get(FONT_SIZE_MEDIUM), 0x555555FF, ALIGN_CENTER);
mText = std::make_shared<TextEditComponent>(mWindow); mText = std::make_shared<TextEditComponent>(mWindow);
mText->setValue(initValue); mText->setValue(initValue);