aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorCeRiAl2011-06-25 01:00:07 +0200
committerCeRiAl2011-06-25 01:06:41 +0200
commiteb8db120b26ed42700e891d9cdd7dd88ce0f26e6 (patch)
tree338c3227f2aac4e6e89f96bdb4df928a9f1e72a0 /backends/platform
parent10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3 (diff)
downloadscummvm-rg350-eb8db120b26ed42700e891d9cdd7dd88ce0f26e6.tar.gz
scummvm-rg350-eb8db120b26ed42700e891d9cdd7dd88ce0f26e6.tar.bz2
scummvm-rg350-eb8db120b26ed42700e891d9cdd7dd88ce0f26e6.zip
WINCE: Hide toolbar when returning to game list
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/wince/CELauncherDialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/wince/CELauncherDialog.cpp b/backends/platform/wince/CELauncherDialog.cpp
index 9c832dd585..dd6076e0af 100644
--- a/backends/platform/wince/CELauncherDialog.cpp
+++ b/backends/platform/wince/CELauncherDialog.cpp
@@ -24,6 +24,7 @@
#define FORBIDDEN_SYMBOL_ALLOW_ALL
#include "backends/platform/wince/wince-sdl.h"
+#include "backends/graphics/wincesdl/wincesdl-graphics.h"
#include "CELauncherDialog.h"
@@ -34,6 +35,7 @@
#include "gui/browser.h"
#include "gui/message.h"
#include "gui/ThemeEval.h"
+#include "gui/widgets/list.h"
#include "common/config-manager.h"
@@ -63,9 +65,13 @@ public:
};
CELauncherDialog::CELauncherDialog() : GUI::LauncherDialog() {
+ ((WINCESdlGraphicsManager *)((OSystem_SDL *)g_system)->getGraphicsManager())->reset_panel();
}
void CELauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
+ if ((cmd == 'STRT') || (cmd == kListItemActivatedCmd) || (cmd == kListItemDoubleClickedCmd)) {
+ ((WINCESdlGraphicsManager *)((OSystem_SDL *)g_system)->getGraphicsManager())->init_panel();
+ }
LauncherDialog::handleCommand(sender, cmd, data);
if (cmd == 'ABOU') {
CEAboutDialog about;