aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorEugene Sandulenko2005-02-20 02:04:45 +0000
committerEugene Sandulenko2005-02-20 02:04:45 +0000
commitf420dd3b785157e95f0dd6255bf35f88db1ec674 (patch)
tree1771504d1c27d911ee03dca9c51c651fad9e1611 /common/system.h
parent47400c1932451009c58b07df53a53621ad655879 (diff)
downloadscummvm-rg350-f420dd3b785157e95f0dd6255bf35f88db1ec674.tar.gz
scummvm-rg350-f420dd3b785157e95f0dd6255bf35f88db1ec674.tar.bz2
scummvm-rg350-f420dd3b785157e95f0dd6255bf35f88db1ec674.zip
Implement OSystem method disableCursorPalette(bool disable) as mentioned
in patch #1013937 (OSystem layer with bigger resolution). svn-id: r16820
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index fad4e6c841..0cc65cfdf1 100644
--- a/common/system.h
+++ b/common/system.h
@@ -294,6 +294,18 @@ public:
virtual void setCursorPalette(const byte *colors, uint start, uint num) {};
/**
+ * Disable or enable cursor palette.
+ *
+ * Backends which implement it should have kFeatureCursorHasPalette flag set
+ *
+ * @param disable True to disable, false to enable.
+ *
+ * @see setPalette
+ * @see kFeatureCursorHasPalette
+ */
+ virtual void disableCursorPalette(bool disable) {};
+
+ /**
* Blit a bitmap to the virtual screen.
* The real screen will not immediately be updated to reflect the changes.
* Client code has to to call updateScreen to ensure any changes are