Sha256: 616368eeeaf311fe824c369e9491a242c4e830d0553ab7f32061dc74e28dfdc4
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
// // DCFrameView.h // // Created by Domestic Cat on 29/04/11. // #import <QuartzCore/QuartzCore.h> #import "DCCrossHairView.h" @protocol DCFrameViewDelegate <NSObject> @required - (void)touchAtPoint:(CGPoint)point; @end @interface DCFrameView : UIView { } @property (nonatomic, assign) id<DCFrameViewDelegate> delegate; @property (nonatomic) CGRect mainRect; @property (nonatomic) CGRect superRect; @property (nonatomic, retain) UILabel *touchPointLabel; @property (nonatomic, retain) NSMutableArray *rectsToOutline; @property (nonatomic, retain) DCCrossHairView *touchPointView; /////////// // Setup // /////////// - (id)initWithFrame:(CGRect)frame delegate:(id)aDelegate; //////////////////// // Custom Setters // //////////////////// - (void)setMainRect:(CGRect)newMainRect; - (void)setSuperRect:(CGRect)newSuperRect; ///////////////////// // Drawing/Display // ///////////////////// - (void)drawRect:(CGRect)rect; //////////////////// // Touch Handling // //////////////////// - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; @end
Version data entries
2 entries across 2 versions & 1 rubygems