source: trunk/athena/lib/Xj/DClock.h @ 12350

Revision 12350, 1.4 KB checked in by ghudson, 26 years ago (diff)
Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.
Line 
1/*
2 * $Id: DClock.h,v 1.2 1999-01-22 23:16:50 ghudson Exp $
3 *
4 * Copyright 1990, 1991 by the Massachusetts Institute of Technology.
5 *
6 * For copying and distribution information, please see the file
7 * <mit-copyright.h>.
8 *
9 */
10
11#ifndef _Xj_DClock_h
12#define _Xj_DClock_h
13
14#include "Jets.h"
15
16extern JetClass dClockJetClass;
17
18typedef struct {int littlefoo;} DClockClassPart;
19
20typedef struct _DClockClassRec {
21  CoreClassPart         core_class;
22  DClockClassPart       dClock_class;
23} DClockClassRec;
24
25extern DClockClassRec dClockClassRec;
26
27#define MAX_FMTS 32
28
29typedef struct {
30  GC gc, gc_bkgnd;
31  int foreground;
32  int background;
33  Boolean reverseVideo;
34  XFontStruct *font;
35  Boolean centerY;
36  int justify;
37  int padding;
38  Pixmap pmap;
39  int pmap_ht;
40  int timerid;
41  int update;
42  char *format[2];
43  int current_fmt;
44  Boolean blink_colons;
45  Boolean colons_on;
46  int timeOffset;
47} DClockPart;
48
49typedef struct _DClockRec {
50  CorePart      core;
51  DClockPart    dClock;
52} DClockRec;
53
54typedef struct _DClockRec *DClockJet;
55typedef struct _DClockClassRec *DClockJetClass;
56
57#define XjCFormat "Format"
58#define XjNformat "format"
59#define XjNformat2 "format2"
60#define XjCUpdate "Update"
61#define XjNupdate "update"
62#define XjCInterval "Interval"
63#define XjNinterval "interval"
64#define XjCBlink "Blink"
65#define XjNblinkColons "blinkColons"
66#define XjCTimeOffset "TimeOffset"
67#define XjNtimeOffset "timeOffset"
68
69#endif /* _Xj_DClock_h */
Note: See TracBrowser for help on using the repository browser.