aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src/be_base.h
diff options
context:
space:
mode:
authorChris Apers2005-10-12 20:24:30 +0000
committerChris Apers2005-10-12 20:24:30 +0000
commit6330435331a32fba582fc3f7052b07492619cd74 (patch)
tree7a8fc0d7142ace0a08383317e65d272d0b5931c7 /backends/PalmOS/Src/be_base.h
parent3e9419db51b1a59daa785575c8c30fc51c252118 (diff)
downloadscummvm-rg350-6330435331a32fba582fc3f7052b07492619cd74.tar.gz
scummvm-rg350-6330435331a32fba582fc3f7052b07492619cd74.tar.bz2
scummvm-rg350-6330435331a32fba582fc3f7052b07492619cd74.zip
Added battery info
svn-id: r19045
Diffstat (limited to 'backends/PalmOS/Src/be_base.h')
-rwxr-xr-xbackends/PalmOS/Src/be_base.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/PalmOS/Src/be_base.h b/backends/PalmOS/Src/be_base.h
index bcd0ac22df..20e9fefd8b 100755
--- a/backends/PalmOS/Src/be_base.h
+++ b/backends/PalmOS/Src/be_base.h
@@ -145,7 +145,8 @@ protected:
WChar _lastKey;
UInt8 _lastKeyModifier;
UInt32 _lastKeyRepeat;
- Boolean _useNumPad;
+ Boolean _useNumPad, _showBatLow;
+ UInt32 _batCheckTicks, _batCheckLast;
int _samplesPerSec;
@@ -161,7 +162,6 @@ public:
virtual void beginGFXTransaction();
virtual void endGFXTransaction();
- virtual bool grabRawScreen(Graphics::Surface *surf);
virtual int16 getOverlayHeight();
virtual int16 getOverlayWidth();
@@ -182,6 +182,7 @@ public:
int getGraphicsMode() const;
int getDefaultGraphicsMode() const;
virtual bool setGraphicsMode(int mode);
+ virtual bool grabRawScreen(Graphics::Surface *surf) { return false; }
void initSize(uint w, uint h, int overlayScale);
int16 getWidth() { return _screenWidth; }
@@ -203,7 +204,7 @@ public:
virtual void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h) = 0;
void setPalette(const byte *colors, uint start, uint num);
- void grabPalette(byte *colors, uint start, uint num) { /* TODO */ };
+ void grabPalette(byte *colors, uint start, uint num);
virtual OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b) = 0;
virtual void colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b) = 0;