diff options
author | Johannes Schickel | 2012-02-24 01:33:37 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-24 01:33:37 +0100 |
commit | 5c558660689e3fb6bad1fd979885a349bf77262c (patch) | |
tree | cf1c3dc73c9b4ff31aaa04158be995d385b2deee /backends/platform/iphone/iphone_video.h | |
parent | d691ef2260fb76ac7bdba60e8383db5c27e842b6 (diff) | |
download | scummvm-rg350-5c558660689e3fb6bad1fd979885a349bf77262c.tar.gz scummvm-rg350-5c558660689e3fb6bad1fd979885a349bf77262c.tar.bz2 scummvm-rg350-5c558660689e3fb6bad1fd979885a349bf77262c.zip |
IPHONE: Cleanup mouse cursor handling slightly.
Now the scaling etc. will be precalculated instead of being done on every
frame.
Diffstat (limited to 'backends/platform/iphone/iphone_video.h')
-rw-r--r-- | backends/platform/iphone/iphone_video.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h index bd32a582e9..135f4e64c3 100644 --- a/backends/platform/iphone/iphone_video.h +++ b/backends/platform/iphone/iphone_video.h @@ -61,6 +61,9 @@ CGRect _overlayRect; GLfloat _mouseTexCoords[4 * 2]; + GLint _mouseHotspotX, _mouseHotspotY; + GLint _mouseWidth, _mouseHeight; + GLfloat _mouseScaleX, _mouseScaleY; int _scaledShakeOffsetY; } @@ -82,6 +85,7 @@ - (void)updateMouseSurface; - (void)clearColorBuffer; +- (void)updateMouseCursorScaling; - (void)updateMouseCursor; - (id)getEvent; |