summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-17 02:40:48 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-17 02:40:48 -0700
commit4886cc818ca3f52c7c1683b45ffcdef8b6e57217 (patch)
treece3a88a978d156daf4cd0fbd63e0d9b02de7807c /MobileCydia.mm
parentf18b4a9767afe6603948fcb7750a24e386b5f0eb (diff)
Add cydia.setScrollIndicatorStyle().
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 4b0fb36..a56ca11 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4113,6 +4113,8 @@ static _H<NSMutableSet> Diversions_;
return @"setPasteboardString";
else if (selector == @selector(setPasteboardURL:))
return @"setPasteboardURL";
+ else if (selector == @selector(setScrollIndicatorStyle:))
+ return @"setScrollIndicatorStyle";
else if (selector == @selector(setToken:))
return @"setToken";
else if (selector == @selector(setViewportWidth:))
@@ -4139,6 +4141,10 @@ static _H<NSMutableSet> Diversions_;
[delegate_ performSelectorOnMainThread:@selector(unloadData) withObject:nil waitUntilDone:NO];
}
+- (void) setScrollIndicatorStyle:(NSString *)style {
+ [indirect_ performSelectorOnMainThread:@selector(setScrollIndicatorStyleWithName:) withObject:style waitUntilDone:NO];
+}
+
- (void) addInternalRedirect:(NSString *)from :(NSString *)to {
[CydiaWebViewController performSelectorOnMainThread:@selector(addDiversion:) withObject:[[[Diversion alloc] initWithFrom:from to:to] autorelease] waitUntilDone:NO];
}