1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 #ifndef _XlwMenu_h
22 #define _XlwMenu_h
23
24
25
26
27
28
29
30 #include "lwlib.h"
31
32
33 #define XtNdisabledForeground "disabledForeground"
34 #define XtCDisabledForeground "DisabledForeground"
35 #define XtNbuttonForeground "buttonForeground"
36 #define XtCButtonForeground "ButtonForeground"
37 #define XtNmargin "margin"
38 #define XtNhorizontalSpacing "horizontalSpacing"
39 #define XtNverticalSpacing "verticalSpacing"
40 #define XtNarrowSpacing "arrowSpacing"
41 #define XtNmenu "menu"
42 #define XtCMenu "Menu"
43 #define XtNopen "open"
44 #define XtNselect "select"
45 #define XtNhighlightCallback "highlightCallback"
46 #define XtNenterCallback "enterCallback"
47 #define XtNleaveCallback "leaveCallback"
48 #define XtNmenuBorderWidth "menuBorderWidth"
49 #define XtNhorizontal "horizontal"
50 #define XtCHorizontal "Horizontal"
51 #define XtNcursor "cursor"
52 #define XtNCursor "Cursor"
53 #define XtNshowGrip "showGrip"
54 #define XtCShowGrip "ShowGrip"
55 #define XtNresizeToPreferred "resizeToPreferred"
56 #define XtCResizeToPreferred "ResizeToPreferred"
57 #define XtNallowResize "allowResize"
58 #define XtCAllowResize "AllowResize"
59 #define XtNborderThickness "borderThickness"
60 #define XtCBorderThickness "BorderThickness"
61 #define XtNhighlightForeground "highlightForeground"
62 #define XtCHighlightForeground "HighlightForeground"
63 #define XtNhighlightBackground "highlightBackground"
64 #define XtCHighlightBackground "HighlightBackground"
65
66
67 #define XmNshadowThickness "shadowThickness"
68 #define XmCShadowThickness "ShadowThickness"
69 #define XmNtopShadowColor "topShadowColor"
70 #define XmCTopShadowColor "TopShadowColor"
71 #define XmNbottomShadowColor "bottomShadowColor"
72 #define XmCBottomShadowColor "BottomShadowColor"
73 #define XmNtopShadowPixmap "topShadowPixmap"
74 #define XmCTopShadowPixmap "TopShadowPixmap"
75 #define XmNbottomShadowPixmap "bottomShadowPixmap"
76 #define XmCBottomShadowPixmap "BottomShadowPixmap"
77 #define XmRHorizontalDimension "HorizontalDimension"
78
79 typedef struct _XlwMenuRec *XlwMenuWidget;
80 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
81
82 extern WidgetClass xlwMenuWidgetClass;
83
84 extern int xlwmenu_window_p (Widget w, Window window);
85 extern void xlwmenu_redisplay (Widget);
86
87 #endif