diff options
author | Chris Apers | 2007-05-01 10:12:55 +0000 |
---|---|---|
committer | Chris Apers | 2007-05-01 10:12:55 +0000 |
commit | 4624769069de808ef0aa561d53700c1bf5c7279e (patch) | |
tree | 99f20fba5a3e26114d7735550699f79ec02fd9f2 /backends/platform/PalmOS/Src/be_os5.h | |
parent | 532311576e053c7a5e08c620cac71d74b976be8b (diff) | |
download | scummvm-rg350-4624769069de808ef0aa561d53700c1bf5c7279e.tar.gz scummvm-rg350-4624769069de808ef0aa561d53700c1bf5c7279e.tar.bz2 scummvm-rg350-4624769069de808ef0aa561d53700c1bf5c7279e.zip |
- Prevent lose of events
- Added hard arrow keys support
- Revamped mouse code to prevent duplication and get rid of fixed size mouse buffer
- Reviewed event code (more work needed for OS5 and keyup emulation)
- Cleanup
svn-id: r26699
Diffstat (limited to 'backends/platform/PalmOS/Src/be_os5.h')
-rw-r--r-- | backends/platform/PalmOS/Src/be_os5.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/backends/platform/PalmOS/Src/be_os5.h b/backends/platform/PalmOS/Src/be_os5.h index e6c4227e71..b4b68bc920 100644 --- a/backends/platform/PalmOS/Src/be_os5.h +++ b/backends/platform/PalmOS/Src/be_os5.h @@ -99,6 +99,9 @@ typedef struct { extern SoundExType _soundEx; class OSystem_PalmOS5 : public OSystem_PalmBase { +protected: + int16 _nativePal[256], _mousePal[256]; + private: uint16 _scaleTableX[512]; uint32 _scaleTableY[512]; @@ -108,7 +111,6 @@ private: OverlayColor *_overlayP; WinHandle _overlayH, _workScreenH; - int16 _nativePal[256], _mousePal[256]; int16 *_workScreenP; Boolean _isSwitchable, _wasRotated; @@ -124,7 +126,7 @@ private: void draw_mouse(); void undraw_mouse(); virtual bool check_event(Common::Event &event, EventPtr ev); - virtual void extras_palette(uint8 index, uint8 r, uint8 g, uint8 b); + void extras_palette(uint8 index, uint8 r, uint8 g, uint8 b); void calc_scale(); void render_landscapeAny(RectangleType &r, PointType &p); @@ -168,8 +170,7 @@ public: void clearScreen(); bool grabRawScreen(Graphics::Surface *surf); - 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 setCursorPalette(const byte *colors, uint start, uint num); void disableCursorPalette(bool disable); void showOverlay(); @@ -179,7 +180,7 @@ public: virtual void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h); virtual OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b); virtual void colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b); - + void setWindowCaption(const char *caption); }; |