Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 235

root-tutorial-5.34.14-2.fc18.noarch.rpm

#import <UIKit/UIKit.h>

///////////////////////////////////////////////////////////
//  Custom view, subview for a detail view.
//  Delegates all graphics to C++ code.
//  This is view for pad in "editable state".
//  TODO: find better class name.
///////////////////////////////////////////////////////////

namespace ROOT {
namespace iOS {

class Pad;

}
}

@class ObjectViewController;
@class PadSelectionView;

@interface PadView : UIView

@property (nonatomic, readonly) PadSelectionView *selectionView;
@property (nonatomic) BOOL zoomed;

- (instancetype) initWithFrame : (CGRect) frame controller : (ObjectViewController *) c forPad : (ROOT::iOS::Pad*) pad;
- (instancetype) initImmutableViewWithFrame : (CGRect) frame;

- (void) setPad : (ROOT::iOS::Pad *) newPad;
- (void) clearPad;

- (BOOL) pointOnSelectedObject : (CGPoint) pt;
- (void) addPanRecognizer;
- (void) removePanRecognizer;

@end