aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/wincesdl/wincesdl-graphics.h
diff options
context:
space:
mode:
authorCeRiAl2011-06-11 01:07:46 +0200
committerCeRiAl2011-06-11 23:29:52 +0200
commit781132aabcfd38cb14d517d1d4b2598d4bd5f791 (patch)
tree7a646679e489693670510a28a45ccd80b1d21592 /backends/graphics/wincesdl/wincesdl-graphics.h
parent1c1786b16f34e4e998a5e1677427bdc75d318a93 (diff)
downloadscummvm-rg350-781132aabcfd38cb14d517d1d4b2598d4bd5f791.tar.gz
scummvm-rg350-781132aabcfd38cb14d517d1d4b2598d4bd5f791.tar.bz2
scummvm-rg350-781132aabcfd38cb14d517d1d4b2598d4bd5f791.zip
WINCE: Some cleanup (public vs. private scopes), fix freelook
Diffstat (limited to 'backends/graphics/wincesdl/wincesdl-graphics.h')
-rw-r--r--backends/graphics/wincesdl/wincesdl-graphics.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/backends/graphics/wincesdl/wincesdl-graphics.h b/backends/graphics/wincesdl/wincesdl-graphics.h
index b3a8d66f51..2727bc0d27 100644
--- a/backends/graphics/wincesdl/wincesdl-graphics.h
+++ b/backends/graphics/wincesdl/wincesdl-graphics.h
@@ -56,6 +56,8 @@ public:
void unloadGFXMode();
bool hotswapGFXMode();
+ void update_game_settings();
+
// Overloaded from SDL backend (toolbar handling)
void drawMouse();
// Overloaded from SDL backend (new scaler handling)
@@ -88,7 +90,8 @@ public:
void swap_zoom_up();
void swap_zoom_down();
void swap_mouse_visibility();
-
+ void swap_freeLook();
+ bool getFreeLookState();
//#ifdef WIN32_PLATFORM_WFSP
void move_cursor_up();
@@ -96,7 +99,6 @@ public:
void move_cursor_left();
void move_cursor_right();
- void retrieve_mouse_location(int &x, int &y);
void switch_zone();
void add_right_click(bool pushed);
@@ -106,6 +108,11 @@ public:
void smartphone_rotate_display();
//#endif
+ bool hasPocketPCResolution();
+ bool hasDesktopResolution();
+ bool hasSquareQVGAResolution();
+ bool hasWideResolution() const;
+
bool _panelInitialized; // only initialize the toolbar once
bool _noDoubleTapRMB; // disable double tap -> rmb click
@@ -122,11 +129,6 @@ public:
bool _hasfocus; // scummvm has the top window
- bool hasPocketPCResolution();
- bool hasDesktopResolution();
- bool hasSquareQVGAResolution();
- bool hasWideResolution() const;
-
MousePos _mouseCurState;
bool _zoomUp; // zooming up mode
@@ -158,8 +160,8 @@ protected:
private:
bool update_scalers();
- void update_game_settings();
void drawToolbarMouse(SDL_Surface *surf, bool draw);
+ void retrieve_mouse_location(int &x, int &y);
void create_toolbar();
bool _panelVisible; // panel visibility
@@ -186,6 +188,7 @@ private:
uint16 _mouseBackupDim;
bool _forceHideMouse; // force invisible mouse cursor
+ bool _freeLook; // freeLook mode (do not send mouse button events)
// Smartphone specific variables
void loadDeviceConfigurationElement(Common::String element, int &value, int defaultValue);