summaryrefslogtreecommitdiff
path: root/src/msdos.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-01-20 23:38:46 +0000
committerRichard M. Stallman <rms@gnu.org>1995-01-20 23:38:46 +0000
commit2ee1465137c8bd2424962918ef796ae0a3b5987d (patch)
tree1c802ce31fc142e150bb903dc6b76606374929ec /src/msdos.h
parentc3cc8c3a845f95cbd5fdb916e80d4683a2ab2a8c (diff)
downloademacs-2ee1465137c8bd2424962918ef796ae0a3b5987d.tar.gz
(x_mouse_leave): Add neutralizing define.
(XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate, XMenuActivate, XMenuDestroy): Add prototype.
Diffstat (limited to 'src/msdos.h')
-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.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
+the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
@@ -106,6 +106,7 @@ extern Display *x_current_display;
#define FONT_WIDTH(foo) 1
/* Function `getcbrk' is the most harmless I can think of right now... */
#define check_x if (FRAME_TERMCAP_P (bar)) error ("Not running under a windows system."); else getcbrk
+#define x_mouse_leave getcbrk
#define XM_FAILURE -1
#define XM_SUCCESS 1
#define XM_NO_SELECT 2
@@ -123,6 +124,14 @@ typedef struct x_menu_struct
int width;
} XMenu;
+XMenu *XMenuCreate (Display *, Window, char *);
+int XMenuAddPane (Display *, XMenu *, char *, int);
+int XMenuAddSelection (Display *, XMenu *, int, int, char *, int);
+void XMenuLocate (Display *, XMenu *, int, int, int, int,
+ int *, int *, int *, int *);
+int XMenuActivate (Display *, XMenu *, int *, int *, int, int, unsigned, char **);
+void XMenuDestroy (Display *, XMenu *);
+
#endif /* not HAVE_X_WINDOWS */
#endif /* not _MSDOS_H_ */