drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / x11 / ScrollBoxP.h
blob902edeebb7acc1eca5ef56c00741691705e80cc5
1 /*
2 * Copyright 1989 O'Reilly and Associates, Inc.
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.
15 $Id: ScrollBoxP.h,v 1.5 2008/07/14 04:24:52 wmcbrine Exp $
19 * scrollBoxP.h - Private definitions for scrollBox widget
23 #ifndef _XORAscrollBoxP_h
24 #define _XORAscrollBoxP_h
26 /************************************************************************
27 * *
28 * scrollBox Widget Private Data *
29 * *
30 ************************************************************************/
32 #include "x11/ScrollBox.h"
34 #include <X11/CompositeP.h>
36 /* New fields for the scrollBox widget class record */
37 typedef struct _ScrollBoxClass {
38 int empty;
39 } ScrollBoxClassPart;
41 /* Full class record declaration */
42 typedef struct _ScrollBoxClassRec {
43 CoreClassPart core_class;
44 CompositeClassPart composite_class;
45 ScrollBoxClassPart scrollBox_class;
46 } ScrollBoxClassRec;
48 extern ScrollBoxClassRec scrollBoxClassRec;
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;
59 /************************************************************************
60 * *
61 * Full instance record declaration *
62 * *
63 ************************************************************************/
65 typedef struct _ScrollBoxRec {
66 CorePart core;
67 CompositePart composite;
68 ScrollBoxPart scrollBox;
69 } ScrollBoxRec;
71 #endif /* _XORAscrollBoxP_h */