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