mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-02 10:16:50 +02:00
Added background image color support. Changed "transparency" to "alpha" for layouts. Fixed code syling.
This commit is contained in:
@@ -279,7 +279,7 @@ bool RetroFE::Back(bool &exit)
|
||||
bool exitOnBack = false;
|
||||
Config.GetProperty("exitOnFirstPageBack", exitOnBack);
|
||||
exit = false;
|
||||
|
||||
|
||||
if(PageChain.size() > 1)
|
||||
{
|
||||
Page *page = PageChain.back();
|
||||
@@ -374,7 +374,7 @@ Page *RetroFE::LoadPage(std::string collectionName)
|
||||
Logger::Write(Logger::ZONE_INFO, "RetroFE", "Creating page for collection " + collectionName);
|
||||
|
||||
Page *page = NULL;
|
||||
|
||||
|
||||
std::vector<Item *> *collection = GetCollection(collectionName);
|
||||
std::string layoutName = GetLayout(collectionName);
|
||||
|
||||
@@ -387,7 +387,7 @@ Page *RetroFE::LoadPage(std::string collectionName)
|
||||
PageBuilder pb(layoutName, collectionName, Config, &FC);
|
||||
page = pb.BuildPage();
|
||||
|
||||
if(!page)
|
||||
if(!page)
|
||||
{
|
||||
Logger::Write(Logger::ZONE_ERROR, "RetroFE", "Could not create page for " + collectionName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user