From 3865ad63842b03bb2c2b6370b4e1bab222dfe8ba Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sat, 5 Nov 2005 11:25:09 +0000 Subject: OSD svn-id: r19452 --- backends/PalmOS/Src/zodiac_overlay.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'backends/PalmOS') diff --git a/backends/PalmOS/Src/zodiac_overlay.cpp b/backends/PalmOS/Src/zodiac_overlay.cpp index ed7c06e518..aca038cb4d 100755 --- a/backends/PalmOS/Src/zodiac_overlay.cpp +++ b/backends/PalmOS/Src/zodiac_overlay.cpp @@ -24,16 +24,18 @@ #include "be_zodiac.h" void OSystem_PalmZodiac::showOverlay() { + // hide fight indicator draw_osd(kDrawFight, _screenDest.w - 34, _screenDest.h + 2, false); + undraw_mouse(); _overlayVisible = true; clearOverlay(); } void OSystem_PalmZodiac::hideOverlay() { - draw_osd(kDrawFight, _screenDest.w - 34, _screenDest.h + 2, _useNumPad, 1); undraw_mouse(); _overlayVisible = false; + _redawOSD = true; } void OSystem_PalmZodiac::clearOverlay() { @@ -41,7 +43,7 @@ void OSystem_PalmZodiac::clearOverlay() { return; Err e; - TwGfxPointType pos = {0, 0}; + TwGfxPointType pos = {0, 0}; TwGfxBitmapType bmp = { sizeof(TwGfxBitmapType), _screenWidth, _screenHeight, _screenWidth, twGfxPixelFormat8bpp, @@ -88,4 +90,3 @@ void OSystem_PalmZodiac::colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint g = ((color >> 3) & 0xFC); b = ((color << 3) & 0xF8); } - -- cgit v1.2.3