From: Jay Freeman (saurik) Date: Wed, 26 Nov 2014 02:24:47 +0000 (-0800) Subject: Add support for new WinterBoard Settings features. X-Git-Url: https://git.saurik.com/iphone-api.git/commitdiff_plain Add support for new WinterBoard Settings features. --- diff --git a/UIKit/UIKit.h b/UIKit/UIKit.h index e0f9141..1cd5ef9 100644 --- a/UIKit/UIKit.h +++ b/UIKit/UIKit.h @@ -207,6 +207,14 @@ typedef enum { UISegmentedControlStyleBar, } UISegmentedControlStyle; +typedef enum { + UITableViewCellAccessoryNone, + UITableViewCellAccessoryDisclosureIndicator, + UITableViewCellAccessoryDetailDisclosureButton, + UITableViewCellAccessoryCheckmark, + UITableViewCellAccessoryDetailButton +} UITableViewCellAccessoryType; + typedef enum { UITableViewCellEditingStyleNone, UITableViewCellEditingStyleDelete, @@ -450,6 +458,9 @@ extern UIApplication * const UIApp; //UIFont *UISystemFontWithSize(CGFloat size); +void UIGraphicsPushContext(CGContextRef); +void UIGraphicsPopContext(); + #ifdef __cplusplus } #endif diff --git a/UIKit/UIPickerTable.h b/UIKit/UIPickerTable.h index 03a71e9..58fbf97 100644 --- a/UIKit/UIPickerTable.h +++ b/UIKit/UIPickerTable.h @@ -45,7 +45,7 @@ - (struct CGPoint)newOffsetWithCenteredRectFromOffset:(struct CGPoint)fp8; - (BOOL)scrollCenterCellToSelectionBar; - (BOOL)fixupCenterCellToSelectionBar:(BOOL)fp8; -- (void)setRowHeight:(float)fp8; +- (void)setRowHeight:(CGFloat)fp8; - (void)removeFromSuperview; - (void)updateSelectionBarRow; diff --git a/UIKit/UITable.h b/UIKit/UITable.h index 1008fca..3ac7107 100644 --- a/UIKit/UITable.h +++ b/UIKit/UITable.h @@ -84,7 +84,7 @@ - (void)removeTableColumn:(id)fp8; - (int)columnWithIdentifier:(id)fp8; - (id)tableColumnWithIdentifier:(id)fp8; -- (void)setRowHeight:(float)fp8; +- (void)setRowHeight:(CGFloat)fp8; - (float)rowHeight; - (void)scrollRowToVisible:(int)fp8; - (void)clearAllData; diff --git a/UIKit/UITableView.h b/UIKit/UITableView.h index 006c8c4..4cc6f7b 100644 --- a/UIKit/UITableView.h +++ b/UIKit/UITableView.h @@ -128,7 +128,7 @@ - (id)dataSource; - (void)setDelegate:(id)fp8; - (id)delegate; -- (void)setRowHeight:(float)fp8; +- (void)setRowHeight:(CGFloat)fp8; - (float)rowHeight; - (void)setSectionHeaderHeight:(float)fp8; - (float)sectionHeaderHeight; diff --git a/UIKit/UITableViewCell.h b/UIKit/UITableViewCell.h index f019525..c73ee89 100644 --- a/UIKit/UITableViewCell.h +++ b/UIKit/UITableViewCell.h @@ -76,7 +76,7 @@ - (id)image; - (void)setSelectedImage:(id)fp8; - (id)selectedImage; -- (id)contentView; +- (UIView *)contentView; - (void)setBackgroundView:(id)fp8; - (id)backgroundView; - (void)setSelectedBackgroundView:(id)fp8;