UI: Add simple support for a custom background.

No UI.  Essentially, this is a cleaned up version of xiushudongfang's
implementation that supports all platforms, but no selection UI.
This commit is contained in:
Unknown W. Brackets committed 2017-03-26 07:52:46 -07:00
1 parent 67fb745278
commit 8f4d1634ad
5 files changed
+40 -14

No files matched your search

-2
View File
@@ -985,8 +985,6 @@ UI::EventReturn MainScreen::OnLoadFile(UI::EventParams &e) {
return UI::EVENT_DONE;
}
extern void DrawBackground(UIContext &dc, float alpha);
void MainScreen::DrawBackground(UIContext &dc) {
UIScreenWithBackground::DrawBackground(dc);
if (highlightedGamePath_.empty() && prevHighlightedGamePath_.empty()) {