X-Git-Url: https://git.saurik.com/iphone-api.git/blobdiff_plain/63e8eac2f56d4adec55f1f4b450938dcccce2853..b5070abea0450ffff6301cb682a3a2f4fbc2e630:/UIKit/UIKit.h diff --git a/UIKit/UIKit.h b/UIKit/UIKit.h index 2d0bf5b..e0f9141 100644 --- a/UIKit/UIKit.h +++ b/UIKit/UIKit.h @@ -9,6 +9,20 @@ typedef double UIAccelerationValue; +/*XXX:*/typedef struct { + struct CGRect _field1; + struct CGRect _field2; + struct CGRect _field3; + struct CGRect _field4; + struct CGRect _field5; + id _field6; + id _field7; + unsigned int _field8; + unsigned int _field9; + unsigned int _field10; + id _field11; +} CDAnonymousStruct9; + /*XXX:*/typedef struct { float top; float left; @@ -148,6 +162,15 @@ typedef enum { UIKeyboardTypeEmailAddress, } UIKeyboardType; +typedef enum { + UILineBreakModeWordWrap, + UILineBreakModeCharacterWrap, + UILineBreakModeClip, + UILineBreakModeHeadTruncation, + UILineBreakModeTailTruncation, + UILineBreakModeMiddleTruncation, +} UILineBreakMode; + typedef enum { UINavigationButtonStyleNormal, UINavigationButtonStyleBack, @@ -203,6 +226,18 @@ typedef enum { UITableViewRowAnimationBottom, } UITableViewRowAnimation; +typedef enum { + UITableViewScrollPositionNone, + UITableViewScrollPositionTop, + UITableViewScrollPositionMiddle, + UITableViewScrollPositionBottom, +} UITableViewScrollPosition; + +typedef enum { + UITableViewStylePlain, + UITableViewStyleGrouped, +} UITableViewStyle; + typedef enum { UITextAlignmentLeft, UITextAlignmentCenter, @@ -263,14 +298,16 @@ enum { #import #import #import +#import +#import #import +#import #import #import #import +#import #import #import -#import -#import #import #import #import @@ -279,6 +316,8 @@ enum { #import #import #import +#import +#import #import #import #import @@ -306,6 +345,8 @@ enum { #import #import #import +#import +#import #import #import #import @@ -313,6 +354,9 @@ enum { #import #import #import +#import +#import +#import #import #import #import @@ -327,6 +371,7 @@ enum { #import #import #import +#import #import #import #import @@ -334,6 +379,7 @@ enum { #import +#import #import #import @@ -356,6 +402,13 @@ NSData *UIImagePNGRepresentation(UIImage *image); CGContextRef UIGraphicsGetCurrentContext(void); UIWindow *UIWindowFindWithWindowRef(GSWindowRef window); +NSString *UIFormattedPhoneNumberFromString(NSString *string); +NSString *UIUnformattedPhoneNumberFromString(NSString *string); + +void UIRectFill(CGRect rect); +void UISetColor(CGColorRef color); +void UISetSystemColor(unsigned color); + GSFontRef UISystemFontCreate(unsigned size, bool bold); GSFontRef UISystemFontForSize(unsigned size); GSFontRef UISystemFontBoldForSize(unsigned size); @@ -364,6 +417,8 @@ void UIApplicationUseLegacyEvents(BOOL use); void UIKeyboardEnableAutomaticAppearance(void); void UIKeyboardDisableAutomaticAppearance(void); +BOOL UIKeyboardInputModeUsesKBStar(NSString *); + extern NSString * const kUIButtonBarButtonAction; extern NSString * const kUIButtonBarButtonInfo; extern NSString * const kUIButtonBarButtonInfoOffset;