diff options
author | Johannes Schickel | 2009-06-29 18:00:18 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-06-29 18:00:18 +0000 |
commit | 67f69bcaf2a0e425eb0799683fc631213775aabb (patch) | |
tree | aaa6b93b19599af651d45522e247595706722b0c /engines/kyra/screen.h | |
parent | c810f9645af0259c2ff89a76bcc3d565f2f58601 (diff) | |
download | scummvm-rg350-67f69bcaf2a0e425eb0799683fc631213775aabb.tar.gz scummvm-rg350-67f69bcaf2a0e425eb0799683fc631213775aabb.tar.bz2 scummvm-rg350-67f69bcaf2a0e425eb0799683fc631213775aabb.zip |
- Get rid of code duplication for mouse cursor setup
- Fix mouse cursor colors in LoL PC98
(This commit might introduce regressions, since it changes the key color the mouse cursor uses)
svn-id: r41959
Diffstat (limited to 'engines/kyra/screen.h')
-rw-r--r-- | engines/kyra/screen.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h index ba69aea3cc..3d2bda3b59 100644 --- a/engines/kyra/screen.h +++ b/engines/kyra/screen.h @@ -298,7 +298,7 @@ public: void hideMouse(); void showMouse(); bool isMouseVisible() const; - virtual void setMouseCursor(int x, int y, const byte *shape); + void setMouseCursor(int x, int y, const byte *shape); // rect handling virtual int getRectSize(int w, int h) = 0; @@ -396,8 +396,11 @@ protected: uint8 *_animBlockPtr; int _animBlockSize; + // mouse handling int _mouseLockCount; + virtual void postProcessCursor(uint8 *data, int w, int h, int pitch) {}; + enum { kMaxDirtyRects = 50 }; |