Merge branch 'master' into xcircuit-3.10
[xcircuit.git] / Xw / MenuBtn.h
blobcbe86d5d88133f65a0a1fe89750269aa41d863a5
1 /*************************************<+>*************************************
2 *****************************************************************************
3 **
4 ** File: MenuBtn.h
5 **
6 ** Project: X Widgets
7 **
8 ** Description: Public include file for MenuButton class widgets
9 **
10 *****************************************************************************
11 **
12 ** Copyright (c) 1988 by Hewlett-Packard Company
13 ** Copyright (c) 1988 by the Massachusetts Institute of Technology
14 **
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
22 ** prior permission.
23 **
24 *****************************************************************************
25 *************************************<+>*************************************/
27 /***********************************************************************
29 * MenuButton Widget
31 ***********************************************************************/
34 extern WidgetClass XwmenubuttonWidgetClass;
36 /* synonym added for consistent naming conventions */
37 extern WidgetClass XwmenuButtonWidgetClass;
39 typedef struct _XwMenuButtonClassRec *XwMenuButtonWidgetClass;
40 typedef struct _XwMenuButtonRec *XwMenuButtonWidget;
44 /********************
46 * CascadeUnselect callback data typedef
48 ********************/
50 typedef struct
52 Dimension rootX;
53 Dimension rootY;
54 Boolean remainHighlighted;
55 } XwunselectParams;