|
|
1.1 ! root 1: /* ! 2: * $Header: Clock.h,v 1.4 87/09/11 21:18:48 swick Locked $ ! 3: */ ! 4: ! 5: /* ! 6: * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. ! 7: * ! 8: * All Rights Reserved ! 9: * ! 10: * Permission to use, copy, modify, and distribute this software and its ! 11: * documentation for any purpose and without fee is hereby granted, ! 12: * provided that the above copyright notice appear in all copies and that ! 13: * both that copyright notice and this permission notice appear in ! 14: * supporting documentation, and that the name of Digital Equipment ! 15: * Corporation not be used in advertising or publicity pertaining to ! 16: * distribution of the software without specific, written prior permission. ! 17: * ! 18: * ! 19: * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ! 20: * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ! 21: * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ! 22: * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, ! 23: * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ! 24: * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ! 25: * SOFTWARE. ! 26: */ ! 27: #ifndef _XtClock_h ! 28: #define _XtClock_h ! 29: ! 30: /*********************************************************************** ! 31: * ! 32: * Clock Widget ! 33: * ! 34: ***********************************************************************/ ! 35: ! 36: /* Resource names used to the clock widget */ ! 37: ! 38: #define XtNupdate "update" /* Int: how often to update hands? */ ! 39: #define XtNforeground "foreground" /* color of clock face or text */ ! 40: #define XtNhand "hands" /* color of hands */ ! 41: #define XtNhigh "highlight" /* color of hand outline */ ! 42: #define XtNanalog "analog" /* Boolean: digital if FALSE */ ! 43: #define XtNchime "chime" /* Boolean: */ ! 44: #define XtNpadding "padding" /* Int: amount of space around outside of clock */ ! 45: #define XtNfont "font" /* Font for digital clock */ ! 46: ! 47: typedef struct _ClockRec *ClockWidget; /* completely defined in ClockPrivate.h */ ! 48: typedef struct _ClockClassRec *ClockWidgetClass; /* completely defined in ClockPrivate.h */ ! 49: ! 50: extern WidgetClass clockWidgetClass; ! 51: ! 52: #endif _XtClock_h ! 53: /* DON'T ADD STUFF AFTER THIS #endif */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.