aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/be_os5.h
diff options
context:
space:
mode:
authorChris Apers2006-09-17 09:59:31 +0000
committerChris Apers2006-09-17 09:59:31 +0000
commitbc8a755c67b733d974afc05af1dabec21c862e3b (patch)
tree109e9b2da28fe68df6ae6caff7b50483617c290e /backends/platform/PalmOS/Src/be_os5.h
parent5fa194e62b391b4dd346c4258893a033ba77ad64 (diff)
downloadscummvm-rg350-bc8a755c67b733d974afc05af1dabec21c862e3b.tar.gz
scummvm-rg350-bc8a755c67b733d974afc05af1dabec21c862e3b.tar.bz2
scummvm-rg350-bc8a755c67b733d974afc05af1dabec21c862e3b.zip
Fixed back mouse in GUI adding cursor palette support
Fixed cursor redraw in GUI Fixed cursor glitches problem in BS because of too small buffer Cleanup svn-id: r23908
Diffstat (limited to 'backends/platform/PalmOS/Src/be_os5.h')
-rw-r--r--backends/platform/PalmOS/Src/be_os5.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/PalmOS/Src/be_os5.h b/backends/platform/PalmOS/Src/be_os5.h
index 40a8340820..e6067fc6ff 100644
--- a/backends/platform/PalmOS/Src/be_os5.h
+++ b/backends/platform/PalmOS/Src/be_os5.h
@@ -105,7 +105,7 @@ private:
OverlayColor *_overlayP;
WinHandle _overlayH, _workScreenH;
- int16 _nativePal[256];
+ int16 _nativePal[256], _mousePal[256];
int16 *_workScreenP;
Boolean _isSwitchable, _wasRotated;
@@ -135,16 +135,20 @@ private:
protected:
UInt16 _sysOldCoord, _sysOldOrientation;
- Boolean _stretched;
+ Boolean _stretched, _cursorPaletteDisabled;
public:
OSystem_PalmOS5();
static OSystem *create();
+ bool hasFeature(Feature f);
+
void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h);
void clearScreen();
void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor, int cursorTargetScale);
+ virtual void setCursorPalette(const byte *colors, uint start, uint num);
+ void disableCursorPalette(bool disable);
void showOverlay();
void hideOverlay();