X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/c2292b80989b35263615375eed64f10e1ad1e072..8ead5016a4a8d482a5c693696f61e725459d7d1e:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index 6dc893b7..ce4fa130 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -99,8 +99,6 @@ typedef enum { - (void) setAllowsMessaging:(BOOL)allows; - (void) setAutoresizes:(BOOL)autoresizes; - (void) setContentsPosition:(NSInteger)position; -- (void) setDataDetectorTypes:(NSUInteger)types; -- (void) setDetectsPhoneNumbers:(BOOL)detects; - (void) setDrawsBackground:(BOOL)draws; - (void) _setDocumentType:(NSInteger)type; - (void) setDrawsGrid:(BOOL)draws; @@ -118,6 +116,11 @@ typedef enum { - (void) useSelectionAssistantWithMode:(NSInteger)mode; - (WebView *) webView; @end + +@interface UIWebViewWebViewDelegate : NSObject { + @public UIWebView *uiWebView; +} +@end // }}} // @interface *Button : * {{{ @interface UINavigationButton : UIButton @@ -201,6 +204,10 @@ 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 @@ -234,6 +241,7 @@ typedef enum { @interface UITableViewCell (Apple) - (float) selectionPercent; +- (void) _updateHighlightColorsForView:(id)view highlighted:(BOOL)highlighted; @end @interface UITextField (Apple) @@ -274,6 +282,7 @@ typedef enum { - (UIWebDocumentView *) _documentView; - (UIScrollView *) _scrollView; - (UIScroller *) _scroller; +- (void) _updateViewSettings; //- (WebView *) webView:(WebView *)view createWebViewWithRequest:(NSURLRequest *)request; - (void) webView:(WebView *)view decidePolicyForNavigationAction:(NSDictionary *)action request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id)listener; - (void) webView:(WebView *)view decidePolicyForNewWindowAction:(NSDictionary *)action request:(NSURLRequest *)request newFrameName:(NSString *)name decisionListener:(id)listener; @@ -318,6 +327,16 @@ typedef enum { - (void) setModalPresentationStyle:(UIModalPresentationStyle)style; @end +@interface UIScrollView (iOS_3_0) +@property(assign, nonatomic) float decelerationRate; +@end + +@interface UIWebView (iOS_3_0) +@property(assign, nonatomic) NSUInteger dataDetectorTypes; +@end + +extern float const UIScrollViewDecelerationRateNormal; + #endif//AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER // }}}