#import /////////////////////////////////////////////////////////// // 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 ROOTObjectController; @class SelectionView; @interface PadView : UIView @property (nonatomic, retain) SelectionView *selectionView; @property (assign) BOOL zoomed; - (id) initWithFrame : (CGRect)frame controller : (ROOTObjectController *)c forPad : (ROOT::iOS::Pad*)pad; - (id) initImmutableViewWithFrame : (CGRect)frame; - (void) setPad : (ROOT::iOS::Pad *)newPad; - (void) clearPad; - (BOOL) pointOnSelectedObject : (CGPoint) pt; - (void) addPanRecognizer; - (void) removePanRecognizer; @end