Mercurial > emacs
annotate lwlib/xlwmenu.h @ 30406:4fe5cb975331
(c-indent-new-comment-line): Added a kludge
similar to the one in c-fill-paragraph to check the fill
prefix from the adaptive fill function for sanity.
(c-electric-brace): Fixed some bugs in the state
handling that caused class open lines to be recognized as
statement-conts in some cases.
(c-indent-new-comment-line): Keep the fill prefix
guessed by the adaptive fill function unless point is on the
first line of a block comment.
(c-indent-command): Obey c-syntactic-indentation.
(c-electric-brace, c-electric-slash,
c-electric-star, c-electric-semi&comma, c-electric-colon,
c-electric-lt-gt, c-electric-paren): Don't reindent old lines
when c-syntactic-indentation is nil.
(c-fill-paragraph): Keep one or two spaces
between the text and the block comment ender when it hangs,
depending on how many there are before the fill.
(c-indent-new-comment-line): Always break
multiline comments in multiline mode, regardless of
comment-multi-line.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 24 Jul 2000 11:12:07 +0000 |
parents | 6ed38ee607e9 |
children | 174fe450ad23 |
rev | line source |
---|---|
5626 | 1 #ifndef _XlwMenu_h |
2 #define _XlwMenu_h | |
3 | |
4 /*********************************************************************** | |
5 * | |
6 * XlwMenu Widget | |
7 * | |
8 ***********************************************************************/ | |
9 | |
10 #include "lwlib.h" | |
11 | |
12 /* Resource names used by the XlwMenu widget */ | |
13 #define XtNbuttonForeground "buttonForeground" | |
14 #define XtCButtonForeground "ButtonForeground" | |
15 #define XtNmargin "margin" | |
16 #define XtNhorizontalSpacing "horizontalSpacing" | |
17 #define XtNverticalSpacing "verticalSpacing" | |
18 #define XtNarrowSpacing "arrowSpacing" | |
19 #define XtNmenu "menu" | |
20 #define XtCMenu "Menu" | |
21 #define XtNopen "open" | |
22 #define XtNselect "select" | |
27339
8b90339beb04
(XtNhighlightCallback): New define.
Gerd Moellmann <gerd@gnu.org>
parents:
8786
diff
changeset
|
23 #define XtNhighlightCallback "highlightCallback" |
5626 | 24 #define XtNmenuBorderWidth "menuBorderWidth" |
25 #define XtNhorizontal "horizontal" | |
26 #define XtCHorizontal "Horizontal" | |
27 #define XtNcursor "cursor" | |
28 #define XtNCursor "Cursor" | |
8786 | 29 #define XtNshowGrip "showGrip" |
30 #define XtCShowGrip "ShowGrip" | |
31 #define XtNresizeToPreferred "resizeToPreferred" | |
32 #define XtCResizeToPreferred "ResizeToPreferred" | |
33 #define XtNallowResize "allowResize" | |
34 #define XtCAllowResize "AllowResize" | |
5626 | 35 |
36 /* Motif-compatible resource names */ | |
37 #define XmNshadowThickness "shadowThickness" | |
38 #define XmCShadowThickness "ShadowThickness" | |
39 #define XmNtopShadowColor "topShadowColor" | |
40 #define XmCTopShadowColor "TopShadowColor" | |
41 #define XmNbottomShadowColor "bottomShadowColor" | |
42 #define XmCBottomShadowColor "BottomShadowColor" | |
43 #define XmNtopShadowPixmap "topShadowPixmap" | |
44 #define XmCTopShadowPixmap "TopShadowPixmap" | |
45 #define XmNbottomShadowPixmap "bottomShadowPixmap" | |
46 #define XmCBottomShadowPixmap "BottomShadowPixmap" | |
47 #define XmRHorizontalDimension "HorizontalDimension" | |
48 | |
49 typedef struct _XlwMenuRec *XlwMenuWidget; | |
50 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass; | |
51 | |
52 extern WidgetClass xlwMenuWidgetClass; | |
53 | |
54 void | |
29466 | 55 pop_up_menu __P ((XlwMenuWidget, XButtonPressedEvent*)); |
5626 | 56 |
57 #endif /* _XlwMenu_h */ |