diff options
author | Jody Northup | 2009-06-20 05:23:09 +0000 |
---|---|---|
committer | Jody Northup | 2009-06-20 05:23:09 +0000 |
commit | f7dd1c15ed38418a0371032966144eb6c2e004cb (patch) | |
tree | dc292bcaf9c657bd1db9efbc56195e70c578ea0e /graphics/cursorman.h | |
parent | 8b6ed92376024f43876af93fdfccd72d6fc33ac0 (diff) | |
download | scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.gz scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.bz2 scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.zip |
renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLOR
svn-id: r41696
Diffstat (limited to 'graphics/cursorman.h')
-rw-r--r-- | graphics/cursorman.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/cursorman.h b/graphics/cursorman.h index 32f1b90f3e..b28145d932 100644 --- a/graphics/cursorman.h +++ b/graphics/cursorman.h @@ -28,7 +28,7 @@ #include "common/scummsys.h" #include "common/stack.h" #include "common/singleton.h" -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR #include "graphics/pixelformat.h" #include "common/system.h" #endif @@ -134,7 +134,7 @@ public: */ void replaceCursorPalette(const byte *colors, uint start, uint num); -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR /** * Push a new cursor pixel format onto the stack, and set it in the backend. * @@ -177,7 +177,7 @@ private: uint _size; Cursor(const byte *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int targetScale = 1, uint8 bitDepth = 8) { -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR { //limit the lifespan of the format value to minimize impact on memory usage Graphics::PixelFormat f = g_system->getScreenFormat(); _size = w * h * f.bytesPerPixel; @@ -231,7 +231,7 @@ private: }; Common::Stack<Cursor *> _cursorStack; Common::Stack<Palette *> _cursorPaletteStack; -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR Common::Stack<Graphics::PixelFormat *> _cursorFormatStack; #endif }; |