aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS
diff options
context:
space:
mode:
authorMax Horn2003-08-02 00:36:38 +0000
committerMax Horn2003-08-02 00:36:38 +0000
commit103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98 (patch)
tree7d65f9b26a214f40647f330831f7a2f627bc26fc /backends/PalmOS
parent208a3925e90999e7bd28b53571e27e1b7a1a36cb (diff)
downloadscummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.gz
scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.bz2
scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.zip
removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
Diffstat (limited to 'backends/PalmOS')
-rw-r--r--backends/PalmOS/Src/palm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp
index d0ae3c65a2..a64d99668b 100644
--- a/backends/PalmOS/Src/palm.cpp
+++ b/backends/PalmOS/Src/palm.cpp
@@ -603,6 +603,7 @@ void OSystem_PALMOS::SimulateArrowKeys(Event *event, Int8 iHoriz, Int8 iVert, Bo
event->event_code = EVENT_MOUSEMOVE;
event->mouse.x = x;
event->mouse.y = y;
+ set_mouse_pos(event->mouse.x, event->mouse.y);
}
static void getCoordinates(EventPtr event, Boolean wide, Coord *x, Coord *y) {
@@ -811,6 +812,7 @@ bool OSystem_PALMOS::poll_event(Event *event) {
event->event_code = EVENT_MOUSEMOVE;
event->mouse.x = x;
event->mouse.y = y - _decaly;
+ set_mouse_pos(event->mouse.x, event->mouse.y);
return true;
case penDownEvent: