aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 5bddce0d30..cd9132b541 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -446,9 +446,16 @@ LauncherDialog::LauncherDialog(GameDetector &detector)
// Show ScummVM version
new StaticTextWidget(this, "launcher_version", gScummVMFullVersion, kTextAlignCenter);
- // Add some buttons at the bottom
- // TODO: Rearrange them a bit? In particular, we could put a slightly smaller space
- // between About and Options, and in exchange remove those a bit from Quit and Start.
+#ifndef DISABLE_FANCY_THEMES
+ if (g_gui.evaluator()->getVar("launcher_logo.visible") == 1) {
+ GraphicsWidget *logo = new GraphicsWidget(this, "launcher_logo");
+ ThemeNew *th = (ThemeNew *)g_gui.theme();
+ logo->useTransparency(true);
+
+ logo->setGfx(th->getImageSurface(th->kThemeLogo));
+ }
+#endif
+
new ButtonWidget(this, "launcher_quit_button", "Quit", kQuitCmd, 'Q');
new ButtonWidget(this, "launcher_about_button", "About", kAboutCmd, 'B');
new ButtonWidget(this, "launcher_options_button", "Options", kOptionsCmd, 'O');