Mercurial > emacs
annotate lwlib/xlwmenu.h @ 49393:85246e86a2cd
* w32term.c (x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground): Implement overstriking.
* w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current
phys_cursor's hpos is overwritten. This is still not completely
correct, as it doesn't really make sense to use hpos at all to
get the cursor glyph (as that is relative to the width of the
characters on the line, which may have changed during the update).
* w32term.c (notice_overwritten_cursor): Handle the special case
of the cursor being in the first blank non-text line at the
end of a window.
* w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor)
(x_draw_phys_cursor_glyph): Set phys_cursor_width here.
Compute from the x position returned by x_draw_glyphs.
* w32term.c (note_mode_line_or_margin_highlight): Renamed from
note_mode_line_highlight and extended.
* w32term.c (last_window): New variable.
(w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
(note_mouse_movement): Remove reimplemented code in #if 0.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 22 Jan 2003 23:04:05 +0000 |
parents | 174fe450ad23 |
children | 695cf19ef79e d7ddb3e565de |
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 */ | |
45146
174fe450ad23
(XtNdisabledForeground, XtCDisabledForeground): New resource names.
Pavel Janík <Pavel@Janik.cz>
parents:
29466
diff
changeset
|
13 #define XtNdisabledForeground "disabledForeground" |
174fe450ad23
(XtNdisabledForeground, XtCDisabledForeground): New resource names.
Pavel Janík <Pavel@Janik.cz>
parents:
29466
diff
changeset
|
14 #define XtCDisabledForeground "DisabledForeground" |
5626 | 15 #define XtNbuttonForeground "buttonForeground" |
16 #define XtCButtonForeground "ButtonForeground" | |
17 #define XtNmargin "margin" | |
18 #define XtNhorizontalSpacing "horizontalSpacing" | |
19 #define XtNverticalSpacing "verticalSpacing" | |
20 #define XtNarrowSpacing "arrowSpacing" | |
21 #define XtNmenu "menu" | |
22 #define XtCMenu "Menu" | |
23 #define XtNopen "open" | |
24 #define XtNselect "select" | |
27339
8b90339beb04
(XtNhighlightCallback): New define.
Gerd Moellmann <gerd@gnu.org>
parents:
8786
diff
changeset
|
25 #define XtNhighlightCallback "highlightCallback" |
5626 | 26 #define XtNmenuBorderWidth "menuBorderWidth" |
27 #define XtNhorizontal "horizontal" | |
28 #define XtCHorizontal "Horizontal" | |
29 #define XtNcursor "cursor" | |
30 #define XtNCursor "Cursor" | |
8786 | 31 #define XtNshowGrip "showGrip" |
32 #define XtCShowGrip "ShowGrip" | |
33 #define XtNresizeToPreferred "resizeToPreferred" | |
34 #define XtCResizeToPreferred "ResizeToPreferred" | |
35 #define XtNallowResize "allowResize" | |
36 #define XtCAllowResize "AllowResize" | |
5626 | 37 |
38 /* Motif-compatible resource names */ | |
39 #define XmNshadowThickness "shadowThickness" | |
40 #define XmCShadowThickness "ShadowThickness" | |
41 #define XmNtopShadowColor "topShadowColor" | |
42 #define XmCTopShadowColor "TopShadowColor" | |
43 #define XmNbottomShadowColor "bottomShadowColor" | |
44 #define XmCBottomShadowColor "BottomShadowColor" | |
45 #define XmNtopShadowPixmap "topShadowPixmap" | |
46 #define XmCTopShadowPixmap "TopShadowPixmap" | |
47 #define XmNbottomShadowPixmap "bottomShadowPixmap" | |
48 #define XmCBottomShadowPixmap "BottomShadowPixmap" | |
49 #define XmRHorizontalDimension "HorizontalDimension" | |
50 | |
51 typedef struct _XlwMenuRec *XlwMenuWidget; | |
52 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass; | |
53 | |
54 extern WidgetClass xlwMenuWidgetClass; | |
55 | |
56 void | |
29466 | 57 pop_up_menu __P ((XlwMenuWidget, XButtonPressedEvent*)); |
5626 | 58 |
59 #endif /* _XlwMenu_h */ |