annotate lwlib/xlwmenu.h @ 80:1ce6082ce73f r20-0b90

Import from CVS: tag r20-0b90
author cvs
date Mon, 13 Aug 2007 09:06:37 +0200
parents 131b0175ea99
children 2d532a89d707
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 #ifndef _XlwMenu_h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 #define _XlwMenu_h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 /***********************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 * XlwMenu Widget
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ***********************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 #include "lwlib.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 /* Resource names used by the XlwMenu widget */
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
13 #define XtNbuttonForeground "buttonForeground"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
14 #define XtCButtonForeground "ButtonForeground"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
15 #define XtNmargin "margin"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
16 #define XtNhorizontalSpacing "horizontalSpacing"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
17 #define XtNverticalSpacing "verticalSpacing"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
18 #define XtNarrowSpacing "arrowSpacing"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
19 #define XtNmenu "menu"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
20 #define XtCMenu "Menu"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
21 #define XtNopen "open"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
22 #define XtNselect "select"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
23 #define XtNmenuBorderWidth "menuBorderWidth"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
24 #define XtNhorizontal "horizontal"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
25 #define XtCHorizontal "Horizontal"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 #ifndef XtNcursor
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
27 #define XtNcursor "cursor"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #ifndef XtCCursor
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
30 #define XtCCursor "Cursor"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 #ifndef XtNuseBackingStore
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
33 #define XtNuseBackingStore "useBackingStore"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #ifndef XtCUseBackingStore
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
36 #define XtCUseBackingStore "UseBackingStore"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 #endif
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
38 #define XtNbounceDown "bounceDown"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
39 #define XtCBounceDown "BounceDown"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
40 #define XtNresourceLabels "resourceLabels"
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 70
diff changeset
41 #define XtCResourceLabels "ResourceLabels"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 /* Motif-compatible resource names */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 #ifndef XmNshadowThickness
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 # define XmNshadowThickness "shadowThickness"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 # define XmCShadowThickness "ShadowThickness"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 # define XmNtopShadowColor "topShadowColor"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 # define XmCTopShadowColor "TopShadowColor"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 # define XmNbottomShadowColor "bottomShadowColor"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 # define XmCBottomShadowColor "BottomShadowColor"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 # define XmNtopShadowPixmap "topShadowPixmap"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 # define XmCTopShadowPixmap "TopShadowPixmap"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 # define XmNbottomShadowPixmap "bottomShadowPixmap"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 # define XmCBottomShadowPixmap "BottomShadowPixmap"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 # define XmRHorizontalDimension "HorizontalDimension"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 # define XmNspacing "spacing"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 # define XmCSpacing "Spacing"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 # define XmNindicatorSize "indicatorSize"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 # define XmCIndicatorSize "IndicatorSize"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 # define XmNselectColor "selectColor"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 # define XmCSelectColor "SelectColor"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 # define XmNmarginHeight "marginHeight"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 # define XmCMarginHeight "MarginHeight"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 # define XmNmarginWidth "marginWidth"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 # define XmCMarginWidth "MarginWidth"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 # define XmRVerticalDimension "VerticalDimension"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 typedef struct _XlwMenuRec *XlwMenuWidget;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 extern WidgetClass xlwMenuWidgetClass;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 void
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 xlw_pop_up_menu (XlwMenuWidget mw, XButtonPressedEvent* event);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 #endif /* _XlwMenu_h */