summaryrefslogtreecommitdiff
path: root/ClockP.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:57 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:57 +0000
commit71633e81c3dd2135c7c4c67c954dc0b7f162f7dc (patch)
treebd808426b18c9bad3411e0f1065f52fcb89462b1 /ClockP.h
parentc4bc1693ae8bbc4bff3891b1d06b110025c23579 (diff)
Diffstat (limited to 'ClockP.h')
-rw-r--r--ClockP.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ClockP.h b/ClockP.h
index 408dc4d..b7e5b8a 100644
--- a/ClockP.h
+++ b/ClockP.h
@@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
+/* $XFree86: xc/programs/oclock/ClockP.h,v 1.5 2001/12/14 20:01:00 dawes Exp $ */
#ifndef _ClockP_h
@@ -84,4 +85,13 @@ typedef struct _ClockClassRec {
/* Class pointer. */
extern ClockClassRec clockClassRec;
+extern void paint_jewel ( ClockWidget w, Drawable d, GC gc );
+extern int check_jewel_poly ( ClockWidget w, TPoint poly[6] );
+extern void check_jewel ( ClockWidget w, Drawable d, GC gc );
+extern void compute_hand ( ClockWidget w, double a, double l, double width,
+ TPoint poly[6] );
+extern void compute_hands ( ClockWidget w );
+extern void paint_hand ( ClockWidget w, Drawable d, GC gc, TPoint poly[6] );
+extern void paint_hands ( ClockWidget w, Drawable d, GC minute_gc, GC hour_gc );
+
#endif /* _ClockP_h */