mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Small cosmetic changes to the input device configuration screen.
This commit is contained in:
parent
0f00701c93
commit
83b764cf1f
|
@ -540,7 +540,7 @@ int main(int argc, char* argv[])
|
||||||
// Open the input configuration GUI if the flag to force this was passed from the command line.
|
// Open the input configuration GUI if the flag to force this was passed from the command line.
|
||||||
if (!loadSystemsStatus) {
|
if (!loadSystemsStatus) {
|
||||||
if (forceInputConfig) {
|
if (forceInputConfig) {
|
||||||
window.pushGui(new GuiDetectDevice(&window, true, true, [] {
|
window.pushGui(new GuiDetectDevice(&window, false, true, [] {
|
||||||
ViewController::get()->goToStart(); }));
|
ViewController::get()->goToStart(); }));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -36,8 +36,8 @@ GuiDetectDevice::GuiDetectDevice(
|
||||||
addChild(&mGrid);
|
addChild(&mGrid);
|
||||||
|
|
||||||
// Title.
|
// Title.
|
||||||
mTitle = std::make_shared<TextComponent>(mWindow, firstRun ? "WELCOME" : "CONFIGURE INPUT",
|
mTitle = std::make_shared<TextComponent>(mWindow, firstRun ? "WELCOME" :
|
||||||
Font::get(FONT_SIZE_LARGE), 0x555555FF, ALIGN_CENTER);
|
"CONFIGURE INPUT DEVICE", Font::get(FONT_SIZE_LARGE), 0x555555FF, ALIGN_CENTER);
|
||||||
mGrid.setEntry(mTitle, Vector2i(0, 0), false, true, Vector2i(1, 1), GridFlags::BORDER_BOTTOM);
|
mGrid.setEntry(mTitle, Vector2i(0, 0), false, true, Vector2i(1, 1), GridFlags::BORDER_BOTTOM);
|
||||||
|
|
||||||
// Device info.
|
// Device info.
|
||||||
|
|
Loading…
Reference in a new issue