1 /* $XConsortium: Clock.h,v 1.9 94/04/17 20:37:56 gildea Exp $ */ 2 /* 3 4 Copyright (c) 1993 X Consortium 5 6 Permission is hereby granted, free of charge, to any person obtaining 7 a copy of this software and associated documentation files (the 8 "Software"), to deal in the Software without restriction, including 9 without limitation the rights to use, copy, modify, merge, publish, 10 distribute, sublicense, and/or sell copies of the Software, and to 11 permit persons to whom the Software is furnished to do so, subject to 12 the following conditions: 13 14 The above copyright notice and this permission notice shall be included 15 in all copies or substantial portions of the Software. 16 17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR 21 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 22 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 OTHER DEALINGS IN THE SOFTWARE. 24 25 Except as contained in this notice, the name of the X Consortium shall 26 not be used in advertising or otherwise to promote the sale, use or 27 other dealings in this Software without prior written authorization 28 from the X Consortium. 29 30 */ 31 32 #ifndef _XtClock_h 33 #define _XtClock_h 34 35 /*********************************************************************** 36 * 37 * Clock Widget 38 * 39 ***********************************************************************/ 40 41 /* Parameters: 42 43 Name Class RepType Default Value 44 ---- ----- ------- ------------- 45 background Background pixel White 46 border BorderColor pixel Black 47 borderWidth BorderWidth int 1 48 curve 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 XtNcurve "curve" 58 59 #define XtNshapeWindow "shapeWindow" 60 #define XtCShapeWindow "ShapeWindow" 61 #define XtNtransparent "transparent" 62 #define XtCTransparent "Transparent" 63 64 #define XtNcurveSize "curveSize" 65 #define XtNborderSize "borderSize" 66 #define XtCBorderSize "BorderSize" 67 68 typedef struct _ClockRec *ClockWidget; /* completely defined in ClockPrivate.h */ 69 typedef struct _ClockClassRec *ClockWidgetClass; /* completely defined in ClockPrivate.h */ 70 71 extern WidgetClass clockWidgetClass; 72 73 74 #endif /* _XtClock_h */ 75 /* DON'T ADD STUFF AFTER THIS #endif */ 76