1 /*************************************<+>*************************************
2 *****************************************************************************
8 ** Description: Private include file for Cascading menupane class widgets
10 *****************************************************************************
12 ** Copyright (c) 1988 by Hewlett-Packard Company
13 ** Copyright (c) 1988 by the Massachusetts Institute of Technology
15 ** Permission to use, copy, modify, and distribute this software
16 ** and its documentation for any purpose and without fee is hereby
17 ** granted, provided that the above copyright notice appear in all
18 ** copies and that both that copyright notice and this permission
19 ** notice appear in supporting documentation, and that the names of
20 ** Hewlett-Packard or M.I.T. not be used in advertising or publicity
21 ** pertaining to distribution of the software without specific, written
24 *****************************************************************************
25 *************************************<+>*************************************/
28 /***********************************************************************
30 * Cascading MenuPane Widget Private Data
32 ***********************************************************************/
34 /* New fields for the Cascade widget class record */
36 int mumble
; /* No new procedures */
39 /* Full class record declaration */
40 typedef struct _XwCascadeClassRec
{
41 CoreClassPart core_class
;
42 CompositeClassPart composite_class
;
43 ConstraintClassPart constraint_class
;
44 XwManagerClassPart manager_class
;
45 XwMenuPaneClassPart menu_pane_class
;
46 XwCascadeClassPart cascade_class
;
49 extern XwCascadeClassRec XwcascadeClassRec
;
51 /* New fields for the Cascade widget record */
56 Position bottom_title_y
;
57 Dimension title_height
;
58 Dimension title_width
;
59 Position button_starting_loc
;
61 Dimension idealHeight
;
62 Dimension largestButtonWidth
;
64 Dimension georeqWidth
;
66 /* User settable fields */
71 /****************************************************************
73 * Full instance record declaration
75 ****************************************************************/
77 typedef struct _XwCascadeRec
{
79 CompositePart composite
;
80 ConstraintPart constraint
;
81 XwManagerPart manager
;
82 XwMenuPanePart menu_pane
;
83 XwCascadePart cascade
;