skia2/experimental/iOSSampleApp/SkUIDetailViewController.h
yangsu@google.com 2e20c248f3 Updated iOSSampleApp and related files.
Removed include guard in SkTime_Unix.cpp, which the iOSSampleApp now uses.


git-svn-id: http://skia.googlecode.com/svn/trunk@1820 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-07 19:26:42 +00:00

33 lines
903 B
Objective-C

#import <UIKit/UIKit.h>
#import "SkUIRootViewController.h"
#import "SkUIView_shell.h"
class SampleWindow;
class SkData;
@interface SkUIDetailViewController : UIViewController {
@private
UINavigationBar* fNavigationBar;
UIBarButtonItem* fPrintButton;
SkData* fData;
SkUIView_shell* fSkUIView;
SampleWindow* fWind;
}
@property (nonatomic, retain) IBOutlet UINavigationBar *fNavigationBar;
@property (nonatomic, retain) IBOutlet UIBarButtonItem* fPrintButton;
//Instance methods
- (void)redraw;
- (void)populateRoot:(SkUIRootViewController*)root;
- (void)goToItem:(NSUInteger)index;
//UI actions
- (IBAction)printContent:(id)sender;
- (IBAction)usePipe:(id)sender;
- (IBAction)enterServerIP:(id)sender;
//SplitView popover management
- (void)showRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem;
- (void)invalidateRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem;
@end