gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / libXaw5 / src / X11 / SmeBSBP.h
blob0fdc4b4e9b7efcbc76d1ad1d5efefa7a31525893
1 /*
2 * $XConsortium: SmeBSBP.h,v 1.8 94/04/17 21:44:11 rws Exp $
4 Copyright (c) 1989, 1994 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
27 * Author: Chris D. Peterson, MIT X Consortium
30 /*
31 * SmeP.h - Private definitions for Sme object
35 #ifndef _XawSmeBSBP_h
36 #define _XawSmeBSBP_h
38 /***********************************************************************
40 * Sme Object Private Data
42 ***********************************************************************/
44 #include <X11/Xaw/SmeP.h>
45 #include <X11/Xaw/SmeBSB.h>
47 /************************************************************
49 * New fields for the Sme Object class record.
51 ************************************************************/
53 typedef struct _SmeBSBClassPart {
54 XtPointer extension;
55 } SmeBSBClassPart;
57 /* Full class record declaration */
58 typedef struct _SmeBSBClassRec {
59 RectObjClassPart rect_class;
60 SmeClassPart sme_class;
61 SmeBSBClassPart sme_bsb_class;
62 } SmeBSBClassRec;
64 extern SmeBSBClassRec smeBSBClassRec;
66 /* New fields for the Sme Object record */
67 typedef struct {
68 /* resources */
69 String label; /* The entry label. */
70 int vert_space; /* extra vert space to leave, as a percentage
71 of the font height of the label. */
72 Pixmap left_bitmap, right_bitmap; /* bitmaps to show. */
73 Dimension left_margin, right_margin; /* left and right margins. */
74 Pixel foreground; /* foreground color. */
75 XFontStruct * font; /* The font to show label in. */
76 XFontSet fontset; /* or fontset*/
77 XtJustify justify; /* Justification for the label. */
79 /* private resources. */
81 Boolean set_values_area_cleared; /* Remember if we need to unhighlight. */
82 GC norm_gc; /* noral color gc. */
83 GC rev_gc; /* reverse color gc. */
84 GC norm_gray_gc; /* Normal color (grayed out) gc. */
85 GC invert_gc; /* gc for flipping colors. */
87 Dimension left_bitmap_width; /* size of each bitmap. */
88 Dimension left_bitmap_height;
89 Dimension right_bitmap_width;
90 Dimension right_bitmap_height;
92 } SmeBSBPart;
94 /****************************************************************
96 * Full instance record declaration
98 ****************************************************************/
100 typedef struct _SmeBSBRec {
101 ObjectPart object;
102 RectObjPart rectangle;
103 SmePart sme;
104 SmeBSBPart sme_bsb;
105 } SmeBSBRec;
107 /************************************************************
109 * Private declarations.
111 ************************************************************/
113 #endif /* _XawSmeBSBP_h */