From d6b93fc81d9aa850eb7ef50bb8f5c79f03fda25c Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sun, 20 Jul 2008 04:40:32 +0000 Subject: Massive changes to support 2.0. git-svn-id: http://svn.telesphoreo.org/trunk@364 514c082c-b64e-11dc-b46d-3d985efe055d --- data/mobileterminal/gliw.diff | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 data/mobileterminal/gliw.diff (limited to 'data/mobileterminal/gliw.diff') diff --git a/data/mobileterminal/gliw.diff b/data/mobileterminal/gliw.diff deleted file mode 100644 index 7e0c9af4e..000000000 --- a/data/mobileterminal/gliw.diff +++ /dev/null @@ -1,42 +0,0 @@ -diff -r -ru mobileterminal-286/GestureView.m mobileterminal-286+iPhone/GestureView.m ---- mobileterminal-286/GestureView.m 2008-05-07 08:33:09.000000000 +0000 -+++ mobileterminal-286+iPhone/GestureView.m 2008-05-07 08:22:32.000000000 +0000 -@@ -79,7 +79,7 @@ - - - (void) mouseDown:(GSEvent*)event - { -- mouseDownPos = [delegate viewPointForWindowPoint:GSEventGetLocationInWindow(event)]; -+ mouseDownPos = [delegate viewPointForWindowPoint:GSEventGetLocationInWindow(event).origin]; - [delegate showMenu:mouseDownPos]; - - [super mouseDown:event]; -@@ -132,7 +132,7 @@ - - if (![[MenuView sharedInstance] visible]) - { -- CGPoint end = [delegate viewPointForWindowPoint:GSEventGetLocationInWindow(event)]; -+ CGPoint end = [delegate viewPointForWindowPoint:GSEventGetLocationInWindow(event).origin]; - CGPoint vector = CGPointMake(end.x - mouseDownPos.x, end.y - mouseDownPos.y); - - float r = sqrtf(vector.x*vector.x + vector.y*vector.y); -@@ -168,7 +168,7 @@ - } - else if (r < 10.0f) - { -- mouseDownPos = [delegate viewPointForWindowPoint:GSEventGetLocationInWindow(event)]; -+ mouseDownPos = [delegate viewPointForWindowPoint:GSEventGetLocationInWindow(event).origin]; - if ([[MenuView sharedInstance] visible]) - { - [[MenuView sharedInstance] hide]; -diff -r -ru mobileterminal-286/MobileTerminal.m mobileterminal-286+iPhone/MobileTerminal.m ---- mobileterminal-286/MobileTerminal.m 2008-05-07 08:33:09.000000000 +0000 -+++ mobileterminal-286+iPhone/MobileTerminal.m 2008-05-07 08:13:49.000000000 +0000 -@@ -404,7 +404,7 @@ - { - if (numTerminals > 1) - { -- CGPoint pos = GSEventGetLocationInWindow(event); -+ CGPoint pos = GSEventGetLocationInWindow(event).origin; - float width = landscape ? window.frame.size.height : window.frame.size.width; - if (pos.x > width/2 && pos.x < width*3/4) - { -- cgit v1.2.3