diff options
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r-- | backends/PalmOS/Src/palm.cpp | 16 | ||||
-rw-r--r-- | backends/PalmOS/Src/palm.h | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp index d61c7d6dee..1c4948ad9c 100644 --- a/backends/PalmOS/Src/palm.cpp +++ b/backends/PalmOS/Src/palm.cpp @@ -649,10 +649,10 @@ void OSystem_PALMOS::updateScreen() { if (oldCol != gVars->indicator.on) { // redraw if needed if (_lastKeyModifier) - draw1BitGfx((kDrawKeyState + _lastKeyModifier - 1), 2, get_height() + 2, true); + draw1BitGfx((kDrawKeyState + _lastKeyModifier - 1), 2, getHeight() + 2, true); if(_useNumPad) - draw1BitGfx(kDrawNumPad, (get_width() >> 1) - 32, get_height() + 2, true); + draw1BitGfx(kDrawNumPad, (getWidth() >> 1) - 32, getHeight() + 2, true); } } @@ -1058,9 +1058,9 @@ bool OSystem_PALMOS::poll_event(Event *event) { _lastKeyModifier %= 4; if (_lastKeyModifier) - draw1BitGfx((kDrawKeyState + _lastKeyModifier - 1), 2, get_height() + 2, true); + draw1BitGfx((kDrawKeyState + _lastKeyModifier - 1), 2, getHeight() + 2, true); else - draw1BitGfx(kDrawKeyState, 2, get_height() + 2, false); + draw1BitGfx(kDrawKeyState, 2, getHeight() + 2, false); } else { byte b = 0; @@ -1075,7 +1075,7 @@ bool OSystem_PALMOS::poll_event(Event *event) { } else if (ev.data.keyDown.chr == 'n' && b == KBD_CTRL) { UInt8 *scr = _screenP + _screenWidth * (_screenHeight + 2); _useNumPad = !_useNumPad; - draw1BitGfx(kDrawNumPad, (get_width() >> 1) - 32, get_height() + 2, _useNumPad); + draw1BitGfx(kDrawNumPad, (getWidth() >> 1) - 32, getHeight() + 2, _useNumPad); } else if (ev.data.keyDown.chr == 'a' && b == (KBD_CTRL|KBD_ALT)) { property(PROP_TOGGLE_ASPECT_RATIO, NULL); @@ -1089,7 +1089,7 @@ bool OSystem_PALMOS::poll_event(Event *event) { if (_lastKeyModifier) { _lastKeyModifier = MD_NONE; - draw1BitGfx(kDrawKeyState, 2, get_height() + 2, false); + draw1BitGfx(kDrawKeyState, 2, getHeight() + 2, false); } } return true; @@ -1773,11 +1773,11 @@ void OSystem_PALMOS::copy_rect_overlay(const byte *buf, int pitch, int x, int y, } -int16 OSystem_PALMOS::get_height() { +int16 OSystem_PALMOS::getHeight() { return _screenHeight; } -int16 OSystem_PALMOS::get_width() { +int16 OSystem_PALMOS::getWidth() { return _screenWidth; } diff --git a/backends/PalmOS/Src/palm.h b/backends/PalmOS/Src/palm.h index baee772065..7e39b43862 100644 --- a/backends/PalmOS/Src/palm.h +++ b/backends/PalmOS/Src/palm.h @@ -146,8 +146,8 @@ public: void grab_overlay(byte *buf, int pitch); void copy_rect_overlay(const byte *buf, int pitch, int x, int y, int w, int h); - int16 get_width(); - int16 get_height(); + int16 getWidth(); + int16 getHeight(); byte RGBToColor(uint8 r, uint8 g, uint8 b); void ColorToRGB(byte color, uint8 &r, uint8 &g, uint8 &b); // Set a parameter |