4 * Copyright 1998 by Marcel Baur <mbaur@g26.ethz.ch>
5 * This file is essentially rolex.c by Jim Peterson.
6 * Please see my winclock.c and/or his rolex.c for references.
14 int StartX
,StartY
,EndX
,EndY
;
18 extern HandData OldMinute
, OldHour
, OldSecond
;
20 /* function prototypes */
23 void DrawFace(HDC dc
);
24 void DrawHourHand(HDC dc
);
25 void DrawMinuteHand(HDC dc
);
26 void DrawSecondHand(HDC dc
);
27 BOOL
UpdateHourHand(HDC dc
,int MidX
,int MidY
,int XExt
,int YExt
,WORD Pos
);
28 BOOL
UpdateMinuteHand(HDC dc
,int MidX
,int MidY
,int XExt
,int YExt
,WORD Pos
);
29 BOOL
UpdateSecondHand(HDC dc
,int MidX
,int MidY
,int XExt
,int YExt
,WORD Pos
);