/* ClockView */ #import #import "ClockHand.h" enum roundType { noRounding, roundToNearest, roundToLast }; @interface ClockView : NSView { float _hw; float _hh; NSPoint _centre; float _l; float _ox; float _oy; float _hl; float _numeralRadius; float _numeralSize; float _bigHandLength; float _bigHandWidth; int _hours; int _minutes; BOOL _exactAngles; ClockHand *_bigHand; ClockHand *_littleHand; ClockHand *_selectedHand; } - (void) setTimeToHours:(int)hours andMinutes:(int)minutes; - (void) setHours:(int)hours; - (int) hours; - (void) setMinutes:(int)minutes; - (int) minutes; - (void) setupFace; - (void) setBigHand:(ClockHand *)bigHand; - (ClockHand *)bigHand; - (void) setLittleHand:(ClockHand *)littleHand; - (ClockHand *)littleHand; - (void) selectHand:(ClockHand *)hand; - (ClockHand *)selectedHand; @end