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

Revision 12350, 1.3 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: Label.h,v 1.2 1999-01-22 23:16:55 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_Label_h
12#define _Xj_Label_h
13
14#include "Jets.h"
15
16extern JetClass labelJetClass;
17extern void setLabel();
18extern void setPixmap();
19extern void setState();
20
21#define setIcon setState        /* backward compatibility -- do not use... */
22
23typedef struct {int littlefoo;} LabelClassPart;
24
25typedef struct _LabelClassRec {
26  CoreClassPart         core_class;
27  LabelClassPart        label_class;
28} LabelClassRec;
29
30extern LabelClassRec labelClassRec;
31
32typedef struct _LabelPart {
33  int foreground, background;
34  Boolean reverseVideo;
35  XFontStruct *font;
36  int justifyX, justifyY;
37  int x, y, leftX, leftY, rightX, rightY;
38  char *label;
39  GC gc, gc_reverse;
40  XjPixmap *pixmap, *leftPixmap, *rightPixmap;
41  int inverted, padding;
42} LabelPart;
43
44typedef struct _LabelRec {
45  CorePart      core;
46  LabelPart     label;
47} LabelRec;
48
49typedef struct _LabelRec *LabelJet;
50typedef struct _LabelClassRec *LabelJetClass;
51
52#define XjCLabel "Label"
53#define XjNlabel "label"
54
55#define XjCIcon "Icon"
56#define XjNicon "icon"
57#define XjNleftIcon "leftIcon"
58#define XjNrightIcon "rightIcon"
59
60#endif /* _Xj_Label_h */
Note: See TracBrowser for help on using the repository browser.