From a1049fa655dc2ea8cb4f56d2b6f48d78ffcb10b3 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 25 Nov 2014 18:24:47 -0800 Subject: [PATCH] Add support for new WinterBoard Settings features. --- UIKit/UIKit.h | 11 +++++++++++ UIKit/UIPickerTable.h | 2 +- UIKit/UITable.h | 2 +- UIKit/UITableView.h | 2 +- UIKit/UITableViewCell.h | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) 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; -- 2.47.2