aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/wince-sdl.h
diff options
context:
space:
mode:
authorNicolas Bacca2005-10-16 22:52:46 +0000
committerNicolas Bacca2005-10-16 22:52:46 +0000
commit4317c0001e234bdff47a7b07a424819ae81567ab (patch)
treea1d11d8b316f563c08a3365e07a4d7cc449c3082 /backends/wince/wince-sdl.h
parent8b2d14324c591636eac940877ceb76c0fb1882db (diff)
downloadscummvm-rg350-4317c0001e234bdff47a7b07a424819ae81567ab.tar.gz
scummvm-rg350-4317c0001e234bdff47a7b07a424819ae81567ab.tar.bz2
scummvm-rg350-4317c0001e234bdff47a7b07a424819ae81567ab.zip
Windows Mobile 5 devices support (requires the latest SDL Windows CE port available on http://arisme.free.fr updated during this week) - Use the old mouse code to avoid scalers problems (to be fixed after 0.8.0 release)
svn-id: r19120
Diffstat (limited to 'backends/wince/wince-sdl.h')
-rw-r--r--backends/wince/wince-sdl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/backends/wince/wince-sdl.h b/backends/wince/wince-sdl.h
index 9d4c1c401c..8134b1e324 100644
--- a/backends/wince/wince-sdl.h
+++ b/backends/wince/wince-sdl.h
@@ -64,6 +64,16 @@ public:
// Overloaded from SDL_Commmon (master volume and sample rate subtleties)
bool setSoundCallback(SoundProc proc, void *param);
+ // Overloaded from SDL_Common (FIXME)
+ void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor, int cursorTargetScale); // overloaded by CE backend
+ void undrawMouse();
+ void blitCursor();
+ void setMousePos(int x, int y);
+ void copyRectToScreen(const byte *src, int pitch, int x, int y, int w, int h); // overloaded by CE backend (FIXME)
+ void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h);
+ void showOverlay();
+ void hideOverlay();
+
// GUI and action stuff
void swap_panel_visibility();
void swap_panel();
@@ -113,6 +123,8 @@ protected:
void setFeatureState(Feature f, bool enable);
bool getFeatureState(Feature f);
+ void internDrawMouse();
+
private:
#ifdef USE_VORBIS
@@ -172,6 +184,15 @@ private:
static int _platformScreenHeight;
static bool _isOzone; // true if running on Windows 2003 SE
+ // Keyboard tap
+ int _tapX;
+ int _tapY;
+ long _tapTime;
+
+ // Mouse
+
+ byte *_mouseBackupOld;
+
// Smartphone specific variables
int _lastKeyPressed; // last key pressed