summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-10-07 12:59:36 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-10-07 12:59:36 -0700
commit4f6056df15e21697242f7fda429a74d21ab0bcc7 (patch)
treea51d2f43542dce3b085d9a549b07b217c824cf81
parent3c216e5ece97fb293ef6ebc0ad38e0513d736c22 (diff)
Use -[UIColor groupTableViewBackgroundColor] instead of -[UIColor pinStripeColor].
-rw-r--r--UICaboodle/BrowserView.mm6
-rw-r--r--iPhonePrivate.h4
2 files changed, 3 insertions, 7 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index ff39763..e2dee3b 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -1161,7 +1161,7 @@ static Class $UIWebBrowserView;
UIColor *uic(nil);
if (red == 0xc7 && green == 0xce && blue == 0xd5)
- uic = [UIColor pinStripeColor];
+ uic = [UIColor groupTableViewBackgroundColor];
else if (alpha != 0)
uic = [UIColor
colorWithRed:(red / 255)
@@ -1178,7 +1178,7 @@ static Class $UIWebBrowserView;
}
if (!colored)
- [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
+ [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
break;
}
}
@@ -1355,7 +1355,7 @@ static Class $UIWebBrowserView;
[[self view] addSubview:scroller_];
[scroller_ setFixedBackgroundPattern:YES];
- [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
+ [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
[scroller_ setScrollingEnabled:YES];
[scroller_ setClipsSubviews:YES];
diff --git a/iPhonePrivate.h b/iPhonePrivate.h
index f9f03a4..de959c9 100644
--- a/iPhonePrivate.h
+++ b/iPhonePrivate.h
@@ -89,10 +89,6 @@ typedef enum {
- (UIView *) view;
@end
-@interface UIColor (Apple)
-+ (UIColor *) pinStripeColor;
-@end
-
@interface UIControl (Apple)
- (void) addTarget:(id)target action:(SEL)action forEvents:(NSInteger)events;
@end