summaryrefslogtreecommitdiff
path: root/CyteKit/ViewController.mm
diff options
context:
space:
mode:
Diffstat (limited to 'CyteKit/ViewController.mm')
-rw-r--r--CyteKit/ViewController.mm11
1 files changed, 11 insertions, 0 deletions
diff --git a/CyteKit/ViewController.mm b/CyteKit/ViewController.mm
index a036595..df2ba61 100644
--- a/CyteKit/ViewController.mm
+++ b/CyteKit/ViewController.mm
@@ -24,6 +24,8 @@
#include <Foundation/Foundation.h>
#include <UIKit/UIKit.h>
+#include "iPhonePrivate.h"
+
extern bool IsWildcat_;
@implementation UIViewController (Cydia)
@@ -110,4 +112,13 @@ extern bool IsWildcat_;
return IsWildcat_ || orientation == UIInterfaceOrientationPortrait;
}
+- (void) setPageColor:(UIColor *)color {
+ if (color == nil) {
+ color = [UIColor groupTableViewBackgroundColor];
+ if ([color isEqual:[UIColor clearColor]])
+ color = [UIColor pinStripeColor];
+ //color = [UIColor colorWithRed:(215.0/255.0) green:(217.0/255.0) blue:(223.0/255.0) alpha:1.0];
+ } color_ = color;
+}
+
@end