Add Custom USB-Install background support
This commit is contained in:
parent
6325986435
commit
1807c79c9d
@ -13,7 +13,8 @@ namespace inst::ui {
|
||||
|
||||
usbInstPage::usbInstPage() : Layout::Layout() {
|
||||
this->SetBackgroundColor(COLOR("#670000FF"));
|
||||
this->SetBackgroundImage("romfs:/images/background.jpg");
|
||||
if (std::filesystem::exists(inst::config::appDir + "/background.png")) this->SetBackgroundImage(inst::config::appDir + "/background.png");
|
||||
else this->SetBackgroundImage("romfs:/images/background.jpg");
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 94, COLOR("#170909FF"));
|
||||
this->infoRect = Rectangle::New(0, 95, 1280, 60, COLOR("#17090980"));
|
||||
this->botRect = Rectangle::New(0, 660, 1280, 60, COLOR("#17090980"));
|
||||
|
Reference in New Issue
Block a user