rebuild geeqie
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1LabelP.h
blobffeb5c24f6743ed6779337654f3019e08125c078
1 /*
2 * $XConsortium: LabelP.h,v 1.24 89/06/08 18:05:01 swick Exp $
3 */
6 /***********************************************************
7 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
10 All Rights Reserved
12 Permission to use, copy, modify, and distribute this software and its
13 documentation for any purpose and without fee is hereby granted,
14 provided that the above copyright notice appear in all copies and that
15 both that copyright notice and this permission notice appear in
16 supporting documentation, and that the names of Digital or MIT not be
17 used in advertising or publicity pertaining to distribution of the
18 software without specific, written prior permission.
20 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26 SOFTWARE.
28 ******************************************************************/
30 /*
31 * LabelP.h - Private definitions for Label widget
35 #ifndef _XawLabelP_h
36 #define _XawLabelP_h
38 /***********************************************************************
40 * Label Widget Private Data
42 ***********************************************************************/
44 #include <./Xaw3_1Label.h>
45 #include <./Xaw3_1SimpleP.h>
47 /* New fields for the Label widget class record */
49 typedef struct {int foo;} LabelClassPart;
51 /* Full class record declaration */
52 typedef struct _LabelClassRec {
53 CoreClassPart core_class;
54 SimpleClassPart simple_class;
55 LabelClassPart label_class;
56 } LabelClassRec;
58 extern LabelClassRec labelClassRec;
60 /* New fields for the Label widget record */
61 typedef struct {
62 /* resources */
63 Pixel foreground;
64 XFontStruct *font;
65 char *label;
66 XtJustify justify;
67 Dimension internal_width;
68 Dimension internal_height;
69 Pixmap pixmap;
70 Boolean resize;
72 /* private state */
73 GC normal_GC;
74 GC gray_GC;
75 Pixmap stipple;
76 Position label_x;
77 Position label_y;
78 Dimension label_width;
79 Dimension label_height;
80 Dimension label_len;
81 } LabelPart;
84 /****************************************************************
86 * Full instance record declaration
88 ****************************************************************/
90 typedef struct _LabelRec {
91 CorePart core;
92 SimplePart simple;
93 LabelPart label;
94 } LabelRec;
96 #endif /* _XawLabelP_h */