diff options
author | Kostas Nakos | 2006-06-10 11:16:43 +0000 |
---|---|---|
committer | Kostas Nakos | 2006-06-10 11:16:43 +0000 |
commit | fd672ef2e1d202821ca75feadef28d8cb9eab17f (patch) | |
tree | 40c21e6b139ca63ca265c5207c540a43be24b5dc /backends/wince/wince-sdl.h | |
parent | a7a0d522d33d7ad7c336fd0de0ace2cc809235aa (diff) | |
download | scummvm-rg350-fd672ef2e1d202821ca75feadef28d8cb9eab17f.tar.gz scummvm-rg350-fd672ef2e1d202821ca75feadef28d8cb9eab17f.tar.bz2 scummvm-rg350-fd672ef2e1d202821ca75feadef28d8cb9eab17f.zip |
fixed code regression to pre 0.8.2, panel, clipping, overlay fixes, support for new actions, new scaler, toolbar mouse, inverse landscape and double-tap -> right click
svn-id: r23005
Diffstat (limited to 'backends/wince/wince-sdl.h')
-rw-r--r-- | backends/wince/wince-sdl.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/backends/wince/wince-sdl.h b/backends/wince/wince-sdl.h index d4988bd4d6..f9715272a5 100644 --- a/backends/wince/wince-sdl.h +++ b/backends/wince/wince-sdl.h @@ -86,19 +86,21 @@ public: void swap_freeLook(); void swap_zoom_up(); void swap_zoom_down(); + void swap_smartphone_keyboard(); //#ifdef WIN32_PLATFORM_WFSP // Smartphone actions void initZones(); - void loadSmartphoneConfigurationElement(String element, int &value, int defaultValue); - void loadSmartphoneConfiguration(); + void loadDeviceConfigurationElement(String element, int &value, int defaultValue); + void loadDeviceConfiguration(); void add_left_click(bool pushed); void move_cursor_up(); void move_cursor_down(); void move_cursor_left(); void move_cursor_right(); void switch_zone(); + void smartphone_rotate_display(); //#endif static int getScreenWidth(); @@ -127,6 +129,7 @@ protected: bool getFeatureState(Feature f); void internDrawMouse(); + void drawToolbarMouse(SDL_Surface *surf, bool draw); private: @@ -167,8 +170,8 @@ private: bool _monkeyKeyboard; // forced keyboard for Monkey Island copy protection static bool _soundMaster; // turn off sound after all calculations // static since needed by the SDL callback - bool _orientationLandscape; // current orientation - bool _newOrientation; // new orientation + int _orientationLandscape; // current orientation + int _newOrientation; // new orientation bool _saveToolbarState; // save visibility when forced String _saveActiveToolbar; // save active toolbar when forced @@ -177,6 +180,10 @@ private: bool _zoomUp; // zooming up mode bool _zoomDown; // zooming down mode + bool _rbutton; // double tap -> right button simulation + + bool _usesEmulatedMouse; // emulated mousemove ever been used in this session + int _scaleFactorXm; // scaler X * int _scaleFactorXd; // scaler X / int _scaleFactorYm; // scaler Y * @@ -195,6 +202,7 @@ private: // Mouse int _mouseHotspotX, _mouseHotspotY; byte *_mouseBackupOld; + uint16 *_mouseBackupToolbar; // Smartphone specific variables |