5987045388
http://codereview.appspot.com/4798055/ git-svn-id: http://skia.googlecode.com/svn/trunk@2022 2bbb7eff-a529-9590-31e7-b0007b416f81
43 lines
1.2 KiB
Objective-C
43 lines
1.2 KiB
Objective-C
|
|
/*
|
|
* Copyright 2011 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
#import <UIKit/UIKit.h>
|
|
#import "SkOptionsTableViewController.h"
|
|
#import "SkUIRootViewController.h"
|
|
#import "SkUIView.h"
|
|
|
|
class SampleWindow;
|
|
class SkData;
|
|
@interface SkUIDetailViewController : UIViewController {
|
|
UIPopoverController* fPopOverController;
|
|
SkOptionsTableViewController* fOptionsController;
|
|
UIBarButtonItem* fPrintButton;
|
|
UIBarButtonItem* fOptionsButton;
|
|
SkData* fData;
|
|
SkUIView* fSkUIView;
|
|
SampleWindow* fWind;
|
|
}
|
|
|
|
@property (nonatomic, retain) UIBarButtonItem* fPrintButton;
|
|
@property (nonatomic, retain) UIBarButtonItem* fOptionsButton;
|
|
@property (nonatomic, retain) SkOptionsTableViewController* fOptionsController;
|
|
@property (nonatomic, assign) UIPopoverController* fPopOverController;
|
|
|
|
//Instance methods
|
|
- (void)populateRoot:(SkUIRootViewController*)root;
|
|
- (void)goToItem:(NSUInteger)index;
|
|
- (void)createButtons;
|
|
//UI actions
|
|
- (void)printContent;
|
|
- (void)presentOptions;
|
|
|
|
//SplitView popover management
|
|
- (void)showRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem;
|
|
- (void)invalidateRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem;
|
|
|
|
@end
|