aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/osys_iphone.h
diff options
context:
space:
mode:
authorOystein Eftevaag2007-11-23 23:13:55 +0000
committerOystein Eftevaag2007-11-23 23:13:55 +0000
commita1edea156f115c0dc6f49a6c6cbd27f1004ef417 (patch)
treeea20f8b05362acf108a3b3e0efdab8c0a780a93e /backends/platform/iphone/osys_iphone.h
parent5295bde22a766cbd3153ff0f7268ce819214c66a (diff)
downloadscummvm-rg350-a1edea156f115c0dc6f49a6c6cbd27f1004ef417.tar.gz
scummvm-rg350-a1edea156f115c0dc6f49a6c6cbd27f1004ef417.tar.bz2
scummvm-rg350-a1edea156f115c0dc6f49a6c6cbd27f1004ef417.zip
Some minor display and mouse cursor optimizations
svn-id: r29621
Diffstat (limited to 'backends/platform/iphone/osys_iphone.h')
-rw-r--r--backends/platform/iphone/osys_iphone.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/iphone/osys_iphone.h b/backends/platform/iphone/osys_iphone.h
index e463296769..b9925090b3 100644
--- a/backends/platform/iphone/osys_iphone.h
+++ b/backends/platform/iphone/osys_iphone.h
@@ -71,8 +71,10 @@ protected:
uint _mouseWidth, _mouseHeight;
uint _mouseX, _mouseY;
int _mouseHotspotX, _mouseHotspotY;
+ bool _mouseDirty;
long _lastMouseDown;
long _lastMouseTap;
+ Common::Rect _lastDrawnMouseRect;
Common::Event _queuedInputEvent;
bool _needEventRestPeriod;
bool _secondaryTapped;
@@ -155,6 +157,7 @@ protected:
template <bool landscapeMode> void internUpdateScreen();
void dirtyMouseCursor();
void dirtyFullScreen();
+ void clipRectToScreen(int16 &x, int16 &y, int16 &w, int16 &h);
static void AQBufferCallback(void *in, AudioQueueRef inQ, AudioQueueBufferRef outQB);
static int timerHandler(int t);