Clock.h revision 6ea72052
1/* $Xorg: Clock.h,v 1.4 2001/02/09 02:05:33 xorgcvs Exp $ */ 2/* 3 4Copyright 1993, 1998 The Open Group 5 6Permission to use, copy, modify, distribute, and sell this software and its 7documentation for any purpose is hereby granted without fee, provided that 8the above copyright notice appear in all copies and that both that 9copyright notice and this permission notice appear in supporting 10documentation. 11 12The above copyright notice and this permission notice shall be included 13in all copies or substantial portions of the Software. 14 15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 16OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 19OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 20ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 21OTHER DEALINGS IN THE SOFTWARE. 22 23Except as contained in this notice, the name of The Open Group shall 24not be used in advertising or otherwise to promote the sale, use or 25other dealings in this Software without prior written authorization 26from The Open Group. 27 28*/ 29/* $XFree86: xc/programs/oclock/Clock.h,v 1.4 2001/01/17 23:45:01 dawes Exp $ */ 30 31#ifndef _XtClock_h 32#define _XtClock_h 33 34/*********************************************************************** 35 * 36 * Clock Widget 37 * 38 ***********************************************************************/ 39 40/* Parameters: 41 42 Name Class RepType Default Value 43 ---- ----- ------- ------------- 44 background Background pixel White 45 border BorderColor pixel Black 46 borderWidth BorderWidth int 1 47 minute Foreground Pixel Black 48 hour Foreground Pixel Black 49 height Height int 120 50 mappedWhenManaged MappedWhenManaged Boolean True 51 width Width int 120 52 x Position int 0 53 y Position int 0 54 55*/ 56 57#define XtNminute "minute" 58#define XtNhour "hour" 59#define XtNjewel "jewel" 60 61#define XtNshapeWindow "shapeWindow" 62#define XtCShapeWindow "ShapeWindow" 63#define XtNtransparent "transparent" 64#define XtCTransparent "Transparent" 65 66#define XtNjewelSize "jewelSize" 67#define XtNborderSize "borderSize" 68#define XtCBorderSize "BorderSize" 69 70typedef struct _ClockRec *ClockWidget; /* completely defined in ClockPrivate.h */ 71typedef struct _ClockClassRec *ClockWidgetClass; /* completely defined in ClockPrivate.h */ 72 73extern WidgetClass clockWidgetClass; 74 75 76#endif /* _XtClock_h */ 77/* DON'T ADD STUFF AFTER THIS #endif */ 78