aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msdos.h11
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
6GNU Emacs is free software; you can redistribute it and/or modify 6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option) 8the Free Software Foundation; either version 2, or (at your option)
9any later version. 9any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11GNU 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
127XMenu *XMenuCreate (Display *, Window, char *);
128int XMenuAddPane (Display *, XMenu *, char *, int);
129int XMenuAddSelection (Display *, XMenu *, int, int, char *, int);
130void XMenuLocate (Display *, XMenu *, int, int, int, int,
131 int *, int *, int *, int *);
132int XMenuActivate (Display *, XMenu *, int *, int *, int, int, unsigned, char **);
133void 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_ */