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 | |
---|
16 | extern JetClass labelJetClass; |
---|
17 | extern void setLabel(); |
---|
18 | extern void setPixmap(); |
---|
19 | extern void setState(); |
---|
20 | |
---|
21 | #define setIcon setState /* backward compatibility -- do not use... */ |
---|
22 | |
---|
23 | typedef struct {int littlefoo;} LabelClassPart; |
---|
24 | |
---|
25 | typedef struct _LabelClassRec { |
---|
26 | CoreClassPart core_class; |
---|
27 | LabelClassPart label_class; |
---|
28 | } LabelClassRec; |
---|
29 | |
---|
30 | extern LabelClassRec labelClassRec; |
---|
31 | |
---|
32 | typedef 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 | |
---|
44 | typedef struct _LabelRec { |
---|
45 | CorePart core; |
---|
46 | LabelPart label; |
---|
47 | } LabelRec; |
---|
48 | |
---|
49 | typedef struct _LabelRec *LabelJet; |
---|
50 | typedef 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.