749N/A/*
749N/A* $XConsortium: Clock.h,v 1.28 89/07/20 14:54:38 jim Exp $
749N/A*/
749N/A
749N/A
749N/A/***********************************************************
749N/ACopyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
749N/Aand the Massachusetts Institute of Technology, Cambridge, Massachusetts.
749N/A
749N/A All Rights Reserved
749N/A
749N/APermission to use, copy, modify, and distribute this software and its
749N/Adocumentation for any purpose and without fee is hereby granted,
749N/Aprovided that the above copyright notice appear in all copies and that
749N/Aboth that copyright notice and this permission notice appear in
749N/Asupporting documentation, and that the names of Digital or MIT not be
749N/Aused in advertising or publicity pertaining to distribution of the
749N/Asoftware without specific, written prior permission.
749N/A
749N/ADIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
749N/AALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
749N/ADIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
749N/AANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
749N/AWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
749N/AARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
749N/ASOFTWARE.
749N/A
749N/A******************************************************************/
749N/A
749N/A#ifndef _XawClock_h
749N/A#define _XawClock_h
749N/A
749N/A/***********************************************************************
749N/A *
749N/A * Clock Widget
749N/A *
749N/A ***********************************************************************/
749N/A
749N/A#include <X11/Xmu/Converters.h>
749N/A
749N/A/* Parameters:
749N/A
749N/A Name Class RepType Default Value
749N/A ---- ----- ------- -------------
749N/A analog Boolean Boolean True
749N/A background Background Pixel white
749N/A backingStore BackingStore BackingStore default
749N/A border BorderColor Pixel Black
749N/A borderWidth BorderWidth Dimension 1
749N/A chime Boolean Boolean False
749N/A destroyCallback Callback Pointer NULL
749N/A font Font XFontStruct* fixed
749N/A foreground Foreground Pixel black
749N/A hand Foreground Pixel black
749N/A height Height Dimension 164
749N/A highlight Foreground Pixel black
749N/A mappedWhenManaged MappedWhenManaged Boolean True
749N/A padding Margin int 8
749N/A reverseVideo ReverseVideo Boolean False
749N/A update Interval int 60 (seconds)
749N/A width Width Dimension 164
749N/A x Position Position 0
749N/A y Position Position 0
749N/A
749N/A*/
749N/A
749N/A/* Resource names used to the clock widget */
749N/A
749N/A /* color of hands */
749N/A#define XtNhand "hands"
749N/A
749N/A
749N/A /* Boolean: digital if FALSE */
749N/A#define XtNanalog "analog"
749N/A
749N/A /* Boolean: */
749N/A#define XtNchime "chime"
749N/A
749N/A /* Int: amount of space around outside of clock */
749N/A#define XtNpadding "padding"
749N/A
749N/Atypedef struct _ClockRec *ClockWidget; /* completely defined in ClockPrivate.h */
749N/Atypedef struct _ClockClassRec *ClockWidgetClass; /* completely defined in ClockPrivate.h */
749N/A
749N/Aextern WidgetClass clockWidgetClass;
749N/A
749N/A#endif /* _XawClock_h */
749N/A/* DON'T ADD STUFF AFTER THIS #endif */