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 /************************************************************************
28 * scrollBox Widget Private Data *
30 ************************************************************************/
32 #include "x11/ScrollBox.h"
34 #include <X11/CompositeP.h>
36 /* New fields for the scrollBox widget class record */
37 typedef struct _ScrollBoxClass
{
41 /* Full class record declaration */
42 typedef struct _ScrollBoxClassRec
{
43 CoreClassPart core_class
;
44 CompositeClassPart composite_class
;
45 ScrollBoxClassPart scrollBox_class
;
48 extern ScrollBoxClassRec scrollBoxClassRec
;
50 /* New fields for the scrollBox widget record */
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
;
59 /************************************************************************
61 * Full instance record declaration *
63 ************************************************************************/
65 typedef struct _ScrollBoxRec
{
67 CompositePart composite
;
68 ScrollBoxPart scrollBox
;
71 #endif /* _XORAscrollBoxP_h */