diff options
author | yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-02 13:20:22 +0000 |
---|---|---|
committer | yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-02 13:20:22 +0000 |
commit | 5987045388920e5830e7c141c8bfe4205ef6ebf3 (patch) | |
tree | 2b72e77f48fd3cf5142fbce2505c6a202c00a5b2 /experimental/iOSSampleApp/Shared/SkOptionListController.h | |
parent | b3d5bc1059d2b35d4d9148f50611a0455b403772 (diff) |
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
Diffstat (limited to 'experimental/iOSSampleApp/Shared/SkOptionListController.h')
-rw-r--r-- | experimental/iOSSampleApp/Shared/SkOptionListController.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 <UIKit/UIKit.h> + +@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 |