Small cosmetic changes to the input device configuration screen.

This commit is contained in:
Leon Styhre 2021-05-23 10:16:47 +02:00
parent 0f00701c93
commit 83b764cf1f
2 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -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.