069666da2f5238650626b7981f4afff24bbf5d11
[coreboot.git] / payloads / libpayload / curses / PDCurses-3.4 / x11 / ScrollBoxP.h
1 /*
2  * Copyright 1989 O'Reilly and Associates, Inc.
3
4      The X Consortium, and any party obtaining a copy of these files from
5      the X Consortium, directly or indirectly, is granted, free of charge, a
6      full and unrestricted irrevocable, world-wide, paid up, royalty-free,
7      nonexclusive right and license to deal in this software and
8      documentation files (the "Software"), including without limitation the
9      rights to use, copy, modify, merge, publish, distribute, sublicense,
10      and/or sell copies of the Software, and to permit persons who receive
11      copies from any such party to do so.  This license includes without
12      limitation a license to do the foregoing actions under any patents of
13      the party supplying this software to the X Consortium.
14
15      $Id: ScrollBoxP.h,v 1.5 2008/07/14 04:24:52 wmcbrine Exp $
16  */
17
18 /* 
19  * scrollBoxP.h - Private definitions for scrollBox widget
20  * 
21  */
22
23 #ifndef _XORAscrollBoxP_h
24 #define _XORAscrollBoxP_h
25
26 /************************************************************************
27  *                                                                      *
28  * scrollBox Widget Private Data                                        *
29  *                                                                      *
30  ************************************************************************/
31
32 #include "x11/ScrollBox.h"
33
34 #include <X11/CompositeP.h>
35
36 /* New fields for the scrollBox widget class record */
37 typedef struct _ScrollBoxClass {
38     int empty;
39 } ScrollBoxClassPart;
40
41 /* Full class record declaration */
42 typedef struct _ScrollBoxClassRec {
43     CoreClassPart core_class;
44     CompositeClassPart composite_class;
45     ScrollBoxClassPart scrollBox_class;
46 } ScrollBoxClassRec;
47
48 extern ScrollBoxClassRec scrollBoxClassRec;
49
50 /* New fields for the scrollBox widget record */
51 typedef struct {
52     Dimension h_space, v_space;
53     Dimension preferred_width, preferred_height;
54     Dimension last_query_width, last_query_height;
55     Dimension increment_width, increment_height;
56     XtGeometryMask last_query_mode;
57 } ScrollBoxPart;
58
59
60 /************************************************************************
61  *                                                                      *
62  * Full instance record declaration                                     *
63  *                                                                      *
64  ************************************************************************/
65
66 typedef struct _ScrollBoxRec {
67     CorePart core;
68     CompositePart composite;
69     ScrollBoxPart scrollBox;
70 } ScrollBoxRec;
71
72 #endif /* _XORAscrollBoxP_h */