mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Changed the filter 'Text filter (game name)' to a keyboard symbol followed by 'Game name'.
This commit is contained in:
parent
8f02bdf74f
commit
afe8128cc7
|
@ -89,9 +89,9 @@ void GuiGamelistFilter::addFiltersToMenu()
|
||||||
{
|
{
|
||||||
ComponentListRow row;
|
ComponentListRow row;
|
||||||
|
|
||||||
auto lbl =
|
auto lbl = std::make_shared<TextComponent>(
|
||||||
std::make_shared<TextComponent>(mWindow, Utils::String::toUpper("TEXT FILTER (GAME NAME)"),
|
mWindow, Utils::String::toUpper(ViewController::KEYBOARD_CHAR + " GAME NAME"),
|
||||||
Font::get(FONT_SIZE_MEDIUM), 0x777777FF);
|
Font::get(FONT_SIZE_MEDIUM), 0x777777FF);
|
||||||
|
|
||||||
mTextFilterField = std::make_shared<TextComponent>(mWindow, "", Font::get(FONT_SIZE_MEDIUM),
|
mTextFilterField = std::make_shared<TextComponent>(mWindow, "", Font::get(FONT_SIZE_MEDIUM),
|
||||||
0x777777FF, ALIGN_RIGHT);
|
0x777777FF, ALIGN_RIGHT);
|
||||||
|
@ -121,16 +121,16 @@ void GuiGamelistFilter::addFiltersToMenu()
|
||||||
|
|
||||||
if (Settings::getInstance()->getBool("VirtualKeyboard")) {
|
if (Settings::getInstance()->getBool("VirtualKeyboard")) {
|
||||||
row.makeAcceptInputHandler([this, updateVal] {
|
row.makeAcceptInputHandler([this, updateVal] {
|
||||||
mWindow->pushGui(new GuiTextEditKeyboardPopup(
|
mWindow->pushGui(new GuiTextEditKeyboardPopup(mWindow, getHelpStyle(), "GAME NAME",
|
||||||
mWindow, getHelpStyle(), "TEXT FILTER (GAME NAME)", mTextFilterField->getValue(),
|
mTextFilterField->getValue(), updateVal,
|
||||||
updateVal, false, "OK", "APPLY CHANGES?"));
|
false, "OK", "APPLY CHANGES?"));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
row.makeAcceptInputHandler([this, updateVal] {
|
row.makeAcceptInputHandler([this, updateVal] {
|
||||||
mWindow->pushGui(new GuiTextEditPopup(
|
mWindow->pushGui(new GuiTextEditPopup(mWindow, getHelpStyle(), "GAME NAME",
|
||||||
mWindow, getHelpStyle(), "TEXT FILTER (GAME NAME)", mTextFilterField->getValue(),
|
mTextFilterField->getValue(), updateVal, false,
|
||||||
updateVal, false, "OK", "APPLY CHANGES?"));
|
"OK", "APPLY CHANGES?"));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue