diff options
| author | Richard M. Stallman | 1995-01-20 23:38:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-01-20 23:38:46 +0000 |
| commit | cbc07d0a1d845f41c8afde46853aa9a55bdb0420 (patch) | |
| tree | 0e24c7d35607bf30ec21018cf1c186b55556a710 /src | |
| parent | eeee31128d20ae211e34d5833aa608eb63dad2d3 (diff) | |
| download | emacs-cbc07d0a1d845f41c8afde46853aa9a55bdb0420.tar.gz emacs-cbc07d0a1d845f41c8afde46853aa9a55bdb0420.zip | |
(x_mouse_leave): Add neutralizing define.
(XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate,
XMenuActivate, XMenuDestroy): Add prototype.
Diffstat (limited to 'src')
| -rw-r--r-- | src/msdos.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/msdos.h b/src/msdos.h index 37a576a11c4..fe2a23ce006 100644 --- a/src/msdos.h +++ b/src/msdos.h | |||
| @@ -5,7 +5,7 @@ This file is part of GNU Emacs. | |||
| 5 | 5 | ||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | 6 | GNU Emacs is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 1, or (at your option) | 8 | the Free Software Foundation; either version 2, or (at your option) |
| 9 | any later version. | 9 | any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| @@ -106,6 +106,7 @@ extern Display *x_current_display; | |||
| 106 | #define FONT_WIDTH(foo) 1 | 106 | #define FONT_WIDTH(foo) 1 |
| 107 | /* Function `getcbrk' is the most harmless I can think of right now... */ | 107 | /* Function `getcbrk' is the most harmless I can think of right now... */ |
| 108 | #define check_x if (FRAME_TERMCAP_P (bar)) error ("Not running under a windows system."); else getcbrk | 108 | #define check_x if (FRAME_TERMCAP_P (bar)) error ("Not running under a windows system."); else getcbrk |
| 109 | #define x_mouse_leave getcbrk | ||
| 109 | #define XM_FAILURE -1 | 110 | #define XM_FAILURE -1 |
| 110 | #define XM_SUCCESS 1 | 111 | #define XM_SUCCESS 1 |
| 111 | #define XM_NO_SELECT 2 | 112 | #define XM_NO_SELECT 2 |
| @@ -123,6 +124,14 @@ typedef struct x_menu_struct | |||
| 123 | int width; | 124 | int width; |
| 124 | } XMenu; | 125 | } XMenu; |
| 125 | 126 | ||
| 127 | XMenu *XMenuCreate (Display *, Window, char *); | ||
| 128 | int XMenuAddPane (Display *, XMenu *, char *, int); | ||
| 129 | int XMenuAddSelection (Display *, XMenu *, int, int, char *, int); | ||
| 130 | void XMenuLocate (Display *, XMenu *, int, int, int, int, | ||
| 131 | int *, int *, int *, int *); | ||
| 132 | int XMenuActivate (Display *, XMenu *, int *, int *, int, int, unsigned, char **); | ||
| 133 | void XMenuDestroy (Display *, XMenu *); | ||
| 134 | |||
| 126 | #endif /* not HAVE_X_WINDOWS */ | 135 | #endif /* not HAVE_X_WINDOWS */ |
| 127 | 136 | ||
| 128 | #endif /* not _MSDOS_H_ */ | 137 | #endif /* not _MSDOS_H_ */ |