source: trunk/athena/etc/xdm/xlogin/Clock.h @ 8762

Revision 8762, 2.9 KB checked in by ghudson, 28 years ago (diff)
Initial revision
Line 
1/*
2* $XConsortium: Clock.h,v 1.29 90/10/22 14:43:12 converse Exp $
3*/
4
5
6/***********************************************************
7Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
9
10                        All Rights Reserved
11
12Permission to use, copy, modify, and distribute this software and its
13documentation for any purpose and without fee is hereby granted,
14provided that the above copyright notice appear in all copies and that
15both that copyright notice and this permission notice appear in
16supporting documentation, and that the names of Digital or MIT not be
17used in advertising or publicity pertaining to distribution of the
18software without specific, written prior permission. 
19
20DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26SOFTWARE.
27
28******************************************************************/
29
30#ifndef _XawClock_h
31#define _XawClock_h
32
33/***********************************************************************
34 *
35 * Clock Widget
36 *
37 ***********************************************************************/
38
39#include <X11/Xmu/Converters.h>
40
41/* Parameters:
42
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
58 padding             Margin             int             8
59 update              Interval           int             60 (seconds)
60 width               Width              Dimension       164
61 x                   Position           Position        0
62 y                   Position           Position        0
63
64*/
65
66/* Resource names used to the clock widget */
67
68                /* color of hands */
69#define XtNhand "hands"
70
71
72                /* Boolean: digital if FALSE */
73#define XtNanalog "analog"
74
75                /* Boolean:  */
76#define XtNchime "chime"
77
78                /* Int: amount of space around outside of clock */
79#define XtNpadding "padding"
80
81typedef struct _ClockRec *ClockWidget;  /* completely defined in ClockPrivate.h */
82typedef struct _ClockClassRec *ClockWidgetClass;    /* completely defined in ClockPrivate.h */
83
84extern WidgetClass clockWidgetClass;
85
86#endif /* _XawClock_h */
87/* DON'T ADD STUFF AFTER THIS #endif */
Note: See TracBrowser for help on using the repository browser.