aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
diff options
context:
space:
mode:
authorCeRiAl2011-06-25 01:00:07 +0200
committerCeRiAl2011-06-25 01:06:41 +0200
commiteb8db120b26ed42700e891d9cdd7dd88ce0f26e6 (patch)
tree338c3227f2aac4e6e89f96bdb4df928a9f1e72a0 /backends/graphics
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/graphics')
-rw-r--r--backends/graphics/wincesdl/wincesdl-graphics.cpp13
-rw-r--r--backends/graphics/wincesdl/wincesdl-graphics.h2
2 files changed, 15 insertions, 0 deletions
diff --git a/backends/graphics/wincesdl/wincesdl-graphics.cpp b/backends/graphics/wincesdl/wincesdl-graphics.cpp
index f9f963dc70..b8c8b7754d 100644
--- a/backends/graphics/wincesdl/wincesdl-graphics.cpp
+++ b/backends/graphics/wincesdl/wincesdl-graphics.cpp
@@ -1599,6 +1599,19 @@ void WINCESdlGraphicsManager::swap_mouse_visibility() {
undrawMouse();
}
+void WINCESdlGraphicsManager::init_panel() {
+ _panelVisible = true;
+ if (_panelInitialized) {
+ _toolbarHandler.setVisible(true);
+ _toolbarHandler.setActive(NAME_MAIN_PANEL);
+ }
+}
+
+void WINCESdlGraphicsManager::reset_panel() {
+ _panelVisible = false;
+ _toolbarHandler.setVisible(false);
+}
+
// Smartphone actions
void WINCESdlGraphicsManager::initZones() {
int i;
diff --git a/backends/graphics/wincesdl/wincesdl-graphics.h b/backends/graphics/wincesdl/wincesdl-graphics.h
index c620082b0c..89aba92eae 100644
--- a/backends/graphics/wincesdl/wincesdl-graphics.h
+++ b/backends/graphics/wincesdl/wincesdl-graphics.h
@@ -90,6 +90,8 @@ public:
void swap_zoom_up();
void swap_zoom_down();
void swap_mouse_visibility();
+ void init_panel();
+ void reset_panel();
void swap_freeLook();
bool getFreeLookState();