diff options
author | Max Horn | 2011-06-03 23:30:55 +0200 |
---|---|---|
committer | Max Horn | 2011-06-04 11:55:56 +0200 |
commit | 91b889e2d36baf8a8e1f56f05f4d063e5ae79849 (patch) | |
tree | 556b640ec36bb408f74f0a39845bcb306d5d1a14 /graphics | |
parent | 4b95cf5d1a1ac4fbf91544ef6ab1493ad9dbb775 (diff) | |
download | scummvm-rg350-91b889e2d36baf8a8e1f56f05f4d063e5ae79849.tar.gz scummvm-rg350-91b889e2d36baf8a8e1f56f05f4d063e5ae79849.tar.bz2 scummvm-rg350-91b889e2d36baf8a8e1f56f05f4d063e5ae79849.zip |
COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cursorman.cpp | 12 | ||||
-rw-r--r-- | graphics/cursorman.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp index 297b583d54..3d21e49e2d 100644 --- a/graphics/cursorman.cpp +++ b/graphics/cursorman.cpp @@ -86,7 +86,7 @@ void CursorManager::popAllCursors() { delete cur; } - if (g_system->hasFeature(OSystem::kFeatureCursorHasPalette)) { + if (g_system->hasFeature(OSystem::kFeatureCursorPalette)) { while (!_cursorPaletteStack.empty()) { Palette *pal = _cursorPaletteStack.pop(); delete pal; @@ -141,11 +141,11 @@ void CursorManager::replaceCursor(const byte *buf, uint w, uint h, int hotspotX, } bool CursorManager::supportsCursorPalettes() { - return g_system->hasFeature(OSystem::kFeatureCursorHasPalette); + return g_system->hasFeature(OSystem::kFeatureCursorPalette); } void CursorManager::disableCursorPalette(bool disable) { - if (!g_system->hasFeature(OSystem::kFeatureCursorHasPalette)) + if (!g_system->hasFeature(OSystem::kFeatureCursorPalette)) return; if (_cursorPaletteStack.empty()) @@ -158,7 +158,7 @@ void CursorManager::disableCursorPalette(bool disable) { } void CursorManager::pushCursorPalette(const byte *colors, uint start, uint num) { - if (!g_system->hasFeature(OSystem::kFeatureCursorHasPalette)) + if (!g_system->hasFeature(OSystem::kFeatureCursorPalette)) return; Palette *pal = new Palette(colors, start, num); @@ -171,7 +171,7 @@ void CursorManager::pushCursorPalette(const byte *colors, uint start, uint num) } void CursorManager::popCursorPalette() { - if (!g_system->hasFeature(OSystem::kFeatureCursorHasPalette)) + if (!g_system->hasFeature(OSystem::kFeatureCursorPalette)) return; if (_cursorPaletteStack.empty()) @@ -194,7 +194,7 @@ void CursorManager::popCursorPalette() { } void CursorManager::replaceCursorPalette(const byte *colors, uint start, uint num) { - if (!g_system->hasFeature(OSystem::kFeatureCursorHasPalette)) + if (!g_system->hasFeature(OSystem::kFeatureCursorPalette)) return; if (_cursorPaletteStack.empty()) { diff --git a/graphics/cursorman.h b/graphics/cursorman.h index 1e7ce83611..543a5d0a5c 100644 --- a/graphics/cursorman.h +++ b/graphics/cursorman.h @@ -108,9 +108,9 @@ public: * Test whether cursor palettes are supported. * * This is just an convenience wrapper for checking for - * OSystem::kFeatureCursorHasPalette to be supported by OSystem. + * OSystem::kFeatureCursorPalette to be supported by OSystem. * - * @see OSystem::kFeatureCursorHasPalette + * @see OSystem::kFeatureCursorPalette * @see OSystem::hasFeature */ bool supportsCursorPalettes(); |