RobotUIKit API
|
00001 // 00002 // RUICalibrateOverlayView.h 00003 // SpheroDraw 00004 // 00005 // Created by Jon Carroll on 11/4/11. 00006 // Copyright (c) 2011 Orbotix. All rights reserved. 00007 // 00008 00009 #import <UIKit/UIKit.h> 00010 00018 @interface RUICalibrateOverlayView : UIView { 00019 @private 00020 UIImageView *outerRing, *middleRing, *innerRing; 00021 UIImageView *dot1, *dot2; 00022 BOOL animating; 00023 CGPoint point1, point2; 00024 float innerRotation, outerRotation; 00025 float rotationDif, lastRotation, currentRotation; 00026 } 00027 00033 -(id)initWithFrame:(CGRect)frame; 00034 00041 -(void)point1Moved:(CGPoint)p1 point2Moved:(CGPoint)p2 withRotation:(float)rotation; 00042 00046 -(void)calibrationDone; 00047 00048 @end