aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/zodiac_event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/PalmOS/Src/zodiac_event.cpp')
-rw-r--r--backends/platform/PalmOS/Src/zodiac_event.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/backends/platform/PalmOS/Src/zodiac_event.cpp b/backends/platform/PalmOS/Src/zodiac_event.cpp
index 68afbe87a9..9dd0fc3e78 100644
--- a/backends/platform/PalmOS/Src/zodiac_event.cpp
+++ b/backends/platform/PalmOS/Src/zodiac_event.cpp
@@ -24,33 +24,6 @@
#include "be_zodiac.h"
-void OSystem_PalmZodiac::get_coordinates(EventPtr ev, Coord &x, Coord &y) {
- Boolean dummy;
- EvtGetPenNative(WinGetDisplayWindow(), &ev->screenX, &ev->screenY, &dummy);
-
- x = (ev->screenX - _screenOffset.x);
- y = (ev->screenY - _screenOffset.y);
-
- if (_stretched) {
- Int32 w, h;
-
- if (_mode == GFX_NORMAL) {
-
- h = gVars->screenHeight - MIN_OFFSET * 2;
- w = gVars->screenWidth;
- x = (_screenWidth * x) / w;
- y = (_screenHeight * y) / h;
-
- } else {
-
- h = (_ratio.adjustAspect == kRatioHeight ? _ratio.height : gVars->screenFullHeight);
- w = (_ratio.adjustAspect == kRatioWidth ? _ratio.width : gVars->screenFullWidth);
- x = (_screenWidth * x) / w;
- y = (_screenHeight * y) / h;
- }
- }
-}
-
bool OSystem_PalmZodiac::check_event(Event &event, EventPtr ev) {
if (ev->eType == keyDownEvent) {
switch (ev->data.keyDown.chr) {