From bc8a755c67b733d974afc05af1dabec21c862e3b Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sun, 17 Sep 2006 09:59:31 +0000 Subject: 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 --- backends/platform/PalmOS/Src/be_os5.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'backends/platform/PalmOS/Src/be_os5.h') 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(); -- cgit v1.2.3