aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursor.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-08-16 00:19:29 -0400
committerMatthew Hoops2011-08-16 00:19:29 -0400
commit91ae23ebf2967433d17457fbfc41cfb6200a924e (patch)
tree93b5080af4bd7c7bbd5ec0544aa36e7b3f2b22eb /graphics/cursor.h
parent1793d92c8ba7b08cc3891dcc567923eb9f5a721e (diff)
downloadscummvm-rg350-91ae23ebf2967433d17457fbfc41cfb6200a924e.tar.gz
scummvm-rg350-91ae23ebf2967433d17457fbfc41cfb6200a924e.tar.bz2
scummvm-rg350-91ae23ebf2967433d17457fbfc41cfb6200a924e.zip
GRAPHICS: Add cursor palette start/count functions
Diffstat (limited to 'graphics/cursor.h')
-rw-r--r--graphics/cursor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/cursor.h b/graphics/cursor.h
index 9d839c12ce..b04d9c04e2 100644
--- a/graphics/cursor.h
+++ b/graphics/cursor.h
@@ -49,8 +49,13 @@ public:
/** Return the cursor's surface. */
virtual const byte *getSurface() const = 0;
+
/** Return the cursor's palette in RGB format. */
virtual const byte *getPalette() const = 0;
+ /** Return the starting index of the palette. */
+ virtual byte getPaletteStartIndex() const = 0;
+ /** Return the number of colors in the palette. */
+ virtual uint16 getPaletteCount() const = 0;
};
} // End of namespace Graphics