aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS
diff options
context:
space:
mode:
authorChris Apers2005-11-05 11:25:09 +0000
committerChris Apers2005-11-05 11:25:09 +0000
commit3865ad63842b03bb2c2b6370b4e1bab222dfe8ba (patch)
tree074dad19de6546f41023ee14f2b6f16c19de1fef /backends/PalmOS
parent42e67ce5e6bb85c5d51196adcf1057e71166c114 (diff)
downloadscummvm-rg350-3865ad63842b03bb2c2b6370b4e1bab222dfe8ba.tar.gz
scummvm-rg350-3865ad63842b03bb2c2b6370b4e1bab222dfe8ba.tar.bz2
scummvm-rg350-3865ad63842b03bb2c2b6370b4e1bab222dfe8ba.zip
OSD
svn-id: r19452
Diffstat (limited to 'backends/PalmOS')
-rwxr-xr-xbackends/PalmOS/Src/zodiac_overlay.cpp7
1 files changed, 4 insertions, 3 deletions
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);
}
-