| yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame^] | 1 | #import <UIKit/UIKit.h> |
| 2 | #import "SkUIRootViewController.h" |
| 3 | #import "SkUIView_shell.h" |
| 4 | #import "SampleApp.h" |
| 5 | #import "SkData.h" |
| 6 | @interface SkUIDetailViewController : UIViewController { |
| 7 | UINavigationBar* fNavigationBar; |
| 8 | UIBarButtonItem* fPrintButton; |
| 9 | @private |
| 10 | SkData* fData; |
| 11 | SkUIView_shell* fSkUIView; |
| 12 | SampleWindow* fWind; |
| 13 | CGPoint fInitialOffset, fInitialCenter; |
| 14 | CGFloat fInitialScale, fInitialRotation; |
| 15 | |
| 16 | } |
| 17 | @property (nonatomic, retain) IBOutlet UINavigationBar *fNavigationBar; |
| 18 | @property (nonatomic, retain) IBOutlet UIBarButtonItem* fPrintButton; |
| 19 | |
| 20 | - (IBAction)printContent:(id)sender; |
| 21 | |
| 22 | - (void)redraw; |
| 23 | - (void)populateRoot:(SkUIRootViewController*)root; |
| 24 | - (void)goToItem:(NSUInteger)index; |
| 25 | |
| 26 | - (void)showRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem; |
| 27 | - (void)invalidateRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem; |
| 28 | |
| 29 | - (void)initGestureRecognizers; |
| 30 | - (void)handleDoubleTapGesture:(UIGestureRecognizer *)sender; |
| 31 | - (void)handlePanGesture:(UIPanGestureRecognizer *)sender; |
| 32 | - (void)handlePinchGesture:(UIPinchGestureRecognizer *)sender; |
| 33 | - (void)handleSwipeGesture:(UISwipeGestureRecognizer *)sender; |
| 34 | - (void)handleRotationGesture:(UIRotationGestureRecognizer *)sender; |
| 35 | |
| 36 | @end |