diff options
author | Matthew Hoops | 2010-11-25 04:49:11 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-11-25 04:49:11 +0000 |
commit | 07ea74d37b636f27c4fc0075f35ec4f4ad50501b (patch) | |
tree | 086d7f463df9e867e6f2d81d4b97c062a809aee5 /engines/mohawk/graphics.h | |
parent | 4c733c427862fa45315e56bcba07e03bb3872ed2 (diff) | |
download | scummvm-rg350-07ea74d37b636f27c4fc0075f35ec4f4ad50501b.tar.gz scummvm-rg350-07ea74d37b636f27c4fc0075f35ec4f4ad50501b.tar.bz2 scummvm-rg350-07ea74d37b636f27c4fc0075f35ec4f4ad50501b.zip |
MOHAWK: Refactor cursor handling
Cursor handling has now been moved to a new CursorManager class (which is subclassed for Myst/Riven) from the GraphicsManager classes. This will be needed for Living Books which will have a class for Windows and Mac cursors (coming soon!).
svn-id: r54469
Diffstat (limited to 'engines/mohawk/graphics.h')
-rw-r--r-- | engines/mohawk/graphics.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index f90c792d25..38d174b481 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -41,33 +41,6 @@ class MohawkEngine_Riven; class MohawkBitmap; class MystBitmap; -enum { - kRivenOpenHandCursor = 2003, - kRivenClosedHandCursor = 2004, - kRivenMainCursor = 3000, - kRivenPelletCursor = 5000, - kRivenHideCursor = 9000 -}; - -// 803-805 are animated, one large bmp which is in chunks -// Other cursors (200, 300, 400, 500, 600, 700) are not the same in each stack -enum { - kDefaultMystCursor = 100, // The default hand - kWhitePageCursor = 800, // Holding a white page - kRedPageCursor = 801, // Holding a red page - kBluePageCursor = 802, // Holding a blue page - // kDroppingWhitePageAnimCursor = 803, - // kDroppingRedPageAnimCursor = 804, - // kDroppingBluePageAnimCursor = 805, - kNewMatchCursor = 900, // Match that has not yet been lit - kLitMatchCursor = 901, // Match that's burning - kDeadMatchCursor = 902, // Match that's been extinguished - kKeyCursor = 903, // Key in Lighthouse in Stoneship - kRotateClockwiseCursor = 904, // Rotate gear clockwise (boiler on Myst) - kRotateCounterClockwiseCursor = 905, // Rotate gear counter clockwise (boiler on Myst) - kMystZipModeCursor = 999 // Zip Mode cursor -}; - class MohawkSurface { public: MohawkSurface(); @@ -125,9 +98,6 @@ public: void loadExternalPictureFile(uint16 stack); void copyImageSectionToScreen(uint16 image, Common::Rect src, Common::Rect dest); void copyImageToScreen(uint16 image, Common::Rect dest); - void showCursor(); - void hideCursor(); - void changeCursor(uint16); void updateScreen(); void drawRect(Common::Rect rect, bool active); @@ -180,7 +150,6 @@ public: void copyImageToScreen(uint16, uint32, uint32, uint32, uint32); void updateScreen(); bool _updatesEnabled; - void changeCursor(uint16); Common::Array<uint16> _activatedPLSTs; void drawPLST(uint16 x); void drawRect(Common::Rect rect, bool active); |