2 * $XConsortium: Clock.h,v 1.28 89/07/20 14:54:38 jim Exp $
6 /***********************************************************
7 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
12 Permission to use, copy, modify, and distribute this software and its
13 documentation for any purpose and without fee is hereby granted,
14 provided that the above copyright notice appear in all copies and that
15 both that copyright notice and this permission notice appear in
16 supporting documentation, and that the names of Digital or MIT not be
17 used in advertising or publicity pertaining to distribution of the
18 software without specific, written prior permission.
20 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
28 ******************************************************************/
33 /***********************************************************************
37 ***********************************************************************/
39 #include <X11/Xmu/Converters.h>
43 Name Class RepType Default Value
44 ---- ----- ------- -------------
45 analog Boolean Boolean True
46 background Background Pixel white
47 backingStore BackingStore BackingStore default
48 border BorderColor Pixel Black
49 borderWidth BorderWidth Dimension 1
50 chime Boolean Boolean False
51 destroyCallback Callback Pointer NULL
52 font Font XFontStruct* fixed
53 foreground Foreground Pixel black
54 hand Foreground Pixel black
55 height Height Dimension 164
56 highlight Foreground Pixel black
57 mappedWhenManaged MappedWhenManaged Boolean True
59 reverseVideo ReverseVideo Boolean False
60 update Interval int 60 (seconds)
61 width Width Dimension 164
67 /* Resource names used to the clock widget */
70 #define XtNhand "hands"
73 /* Boolean: digital if FALSE */
74 #define XtNanalog "analog"
77 #define XtNchime "chime"
79 /* Int: amount of space around outside of clock */
80 #define XtNpadding "padding"
82 typedef struct _ClockRec
*ClockWidget
; /* completely defined in ClockPrivate.h */
83 typedef struct _ClockClassRec
*ClockWidgetClass
; /* completely defined in ClockPrivate.h */
85 extern WidgetClass clockWidgetClass
;
87 #endif /* _XawClock_h */
88 /* DON'T ADD STUFF AFTER THIS #endif */