From 5987045388920e5830e7c141c8bfe4205ef6ebf3 Mon Sep 17 00:00:00 2001 From: "yangsu@google.com" Date: Tue, 2 Aug 2011 13:20:22 +0000 Subject: iOS Sample App menu implementation http://codereview.appspot.com/4798055/ git-svn-id: http://skia.googlecode.com/svn/trunk@2022 2bbb7eff-a529-9590-31e7-b0007b416f81 --- .../iOSSampleApp/Shared/SkOptionListController.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 experimental/iOSSampleApp/Shared/SkOptionListController.h (limited to 'experimental/iOSSampleApp/Shared/SkOptionListController.h') diff --git a/experimental/iOSSampleApp/Shared/SkOptionListController.h b/experimental/iOSSampleApp/Shared/SkOptionListController.h new file mode 100644 index 0000000000..480579af1f --- /dev/null +++ b/experimental/iOSSampleApp/Shared/SkOptionListController.h @@ -0,0 +1,16 @@ +#import + +@interface SkOptionListController : UITableViewController { + NSMutableArray* fOptions; + NSInteger fSelectedIndex; + UITableViewCell* fSelectedCell; + UITableViewCell* fParentCell; +} +@property (nonatomic, retain) NSMutableArray* fOptions; +@property (nonatomic, assign) NSInteger fSelectedIndex; +@property (nonatomic, retain) UITableViewCell* fSelectedCell; +@property (nonatomic, retain) UITableViewCell* fParentCell; + +- (void)addOption:(NSString*)option; +- (NSString*)getSelectedOption; +@end -- cgit v1.2.3