X11DRV_DrawArc: Don't overwrite the ENDCAP style.
[wine/multimedia.git] / programs / clock / winclock.h
blob3f5e8b4901b0a568abd4b5239683ebad2faee196
1 /*
2 * Clock (winclock.h)
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.
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include <windows.h>
26 typedef struct
28 int StartX,StartY,EndX,EndY;
29 BOOL DontRedraw;
30 } HandData;
32 extern HandData OldMinute, OldHour, OldSecond;
34 /* function prototypes */
37 void DrawFace(HDC dc);
38 void DrawHourHand(HDC dc);
39 void DrawMinuteHand(HDC dc);
40 void DrawSecondHand(HDC dc);
41 BOOL UpdateHourHand(HDC dc,int MidX,int MidY,int XExt,int YExt,WORD Pos);
42 BOOL UpdateMinuteHand(HDC dc,int MidX,int MidY,int XExt,int YExt,WORD Pos);
43 BOOL UpdateSecondHand(HDC dc,int MidX,int MidY,int XExt,int YExt,WORD Pos);
44 void Idle(HDC idc);