summaryrefslogtreecommitdiff
path: root/data/mobileterminal/gliw.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-07-20 04:40:32 +0000
committerJay Freeman <saurik@saurik.com>2008-07-20 04:40:32 +0000
commitd6b93fc81d9aa850eb7ef50bb8f5c79f03fda25c (patch)
tree9d0835707b862bb9030eca2a41863e291bc6b52b /data/mobileterminal/gliw.diff
parent678bf73fb0538e56996a42363581a7ec195cb7bd (diff)
Massive changes to support 2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@364 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/mobileterminal/gliw.diff')
-rw-r--r--data/mobileterminal/gliw.diff42
1 files changed, 0 insertions, 42 deletions
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)
- {