1 /*
2  * Dclock.c -- a digital clock widget.
3  * Copyright (c) 1988 Dan Heller <argv@sun.com>
4  */
5 #ifndef _XtDclock_h
6 #define _XtDclock_h
7 
8 /* Parameters:
9 
10  Name                Class              RepType         Default Value
11  ----                -----              -------         -------------
12  alarm		     Boolean		Boolean		False
13  alarmTime	     Time		long		00:00:00
14  alarmPersist	     Boolean		Boolean		False
15  displayTime	     Boolean		Boolean		True
16  bell		     Boolean		Boolean		False
17  border              BorderColor        pixel           Black
18  borderWidth         BorderWidth        int             1
19  date		     String		String		NULL
20  dateUp		     Boolean		Boolean		False
21  destroyCallback     Callback           Pointer         NULL
22  foreground          Foreground         Pixel           Chartreuse
23  led_off             Foreground         Pixel           ForestGreen
24  background          Background         Pixel           DarkSlateGray
25 
26  height              Height             int             80
27  mappedWhenManaged   MappedWhenManaged  Boolean         True
28  seconds	     Boolean		Boolean		False
29  blink		     Boolean		Boolean		True
30  scroll		     Boolean		Boolean		False
31  fade		     Boolean		Boolean		True
32  fadeRate	     Time		int		50
33  tails		     Boolean		Boolean		True
34  time		     Time		long		current time
35  x                   Position           int             0
36  y                   Position           int             0
37 
38  fontName	     String		String		"charter:italic"
39 
40 */
41 
42 #ifndef XtRDimension
43 #define XtRDimension	"dimension"
44 #endif /* XtRDimension */
45 
46 #define XtRTime		"Time"
47 #define XtCTime		"Time"
48 
49 #define XtNled_off	"led_off"
50 #define XtNseconds	"seconds"
51 #define XtNalarm	"alarm"
52 #define XtNalarmTime	"alarmTime"
53 #define XtNdisplayTime	"displayTime"
54 #define XtNtime		"time"
55 #define XtNbell		"bell"
56 #define XtNscroll	"scroll"
57 #define XtNfade		"fade"
58 #define XtNfadeRate	"fadeRate"
59 #define XtNtails	"tails"
60 #define XtNdate		"date"
61 #define XtNdateUp	"dateUp"
62 #define XtNmilitaryTime	"militaryTime"
63 #define XtNutcTime	"utcTime"
64 #define XtNangle	"angle"
65 #define XtNwidthFactor  "widthFactor"
66 #define XtNsmallRatio	"smallRatio"
67 #define XtNsecondGap	"secondGap"
68 #define XtNspaceFactor  "spaceFactor"
69 #define XtNblink	"blink"
70 #define XtNalarmFile	"alarmFile"
71 #define XtNbellFile	"bellFile"
72 #define XtNaudioPlay	"audioPlay"
73 #define XtNalarmPersist "alarmPersist"
74 
75 #ifdef XFT_SUPPORT
76 #define XftNfontName	"fontname"
77 #endif
78 
79 typedef struct _DclockRec *DclockWidget;
80 typedef struct _DclockClassRec *DclockWidgetClass;
81 
82 extern WidgetClass dclockWidgetClass;
83 
84 #endif /* _XtDclock_h */
85