Mercurial > emacs
view src/s/hpux9.h @ 19711:dc9694ee3f70
(init_menu_items): Disable code.
(x_activate_menubar): New function.
(initialize_frame_menubar): Pass in new param to set_frame_menubar.
(get_frame_menubar_event): Check for the possibility
of a menu-bar button. A menu-bar button is a caption on the menu
bar with no submenu.
(set_frame_menubar): Correctly handle menu-bar buttons.
(add_menu_item): Equiv parameter send and paid attention to.
(keymap_panes, list_of_panes): Use CreatePopupMenu.
(single_keymap_panes): Use CreatePopupMenu. Send key descriptions
to add_menu_item.
(list_of_items): Use CreatePopupMenu. Send nil description to
add_menu_item.
(get_menu_event): Send keymap instead of menu to get_keymap_event.
(Fx_popup_menu): Extra parameter to mouse_position_hook. Don't
send address of menu to win32menu_show.
(win32menu_show): Send message to call popup menu rather than
trying directly. get_menu_event should take an address.
Call eat_mouse_events in order to get rid of any extraneous
mouse events.
(list_of_panes): Only bring up one pane if the length of the list
of panes is one.
(single_keymap_panes): Fixed problem with 'descrip'
lisp object not being protected properly (GCPRO).
(get_single_keymap_event): Fixed problem with 'descrip' lisp
object not being protected properly (GCPRO).
(name_is_separator): New function.
(list_of_panes): If a pane's name is empty ("") items are now
placed in the main popup instead of a blank-named submenu. This
seems to be an undocumented feature of x-popup-menu.
(list_of_items): New argument HMENU.
Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Wed, 03 Sep 1997 00:53:34 +0000 |
parents | 97f000e93516 |
children | ecbb06adc669 |
line wrap: on
line source
/* System description file for hpux version 9. */ #include "hpux8.h" #define HPUX9 /* If Emacs doesn't seem to work when built to use GNU malloc, you probably need to get the latest patches to the HP/UX compiler. See `etc/MACHINES' for more information. */ #if 0 #define SYSTEM_MALLOC 1 #undef GNU_MALLOC #undef REL_ALLOC #endif #ifndef __GNUC__ /* Make room for enough symbols, so dispnew.c does not fail. */ #define C_SWITCH_SYSTEM -Wp,-H200000 -D_BSD #else #define C_SWITCH_SYSTEM -D_BSD #endif #if 0 /* These definitions run into a bug in hpux whereby trying to disable the vdsusp character has no effect. supposedly there is no particular need for this. */ /* neal@ctd.comsat.com */ #undef HAVE_TERMIO #define HAVE_TERMIOS #define NO_TERMIO #endif /* According to ngorelic@speclab.cr.usgs.gov, references to the X11R4 directories in these variables (inherited from hpux8.h) cause the wrong libraries to be found, and the options to specify the X11R5 directories are unnecessary since the R5 files are found without them. */ #undef LIB_X11_LIB #undef C_SWITCH_X_SYSTEM #undef LD_SWITCH_X_DEFAULT /* However, HPUX 9 has Motif includes in a strange place. So search that place. These definitions assume that X11R5 is being used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead. */ /* horst@tkm.physik.uni-karlsruhe.de says that the /usr/contrib/... dirs are needed to find the Xmu and Xaw libraries. */ #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/contrib/X11R5/include -I/usr/include/Motif1.2 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/contrib/X11R5/lib -L/usr/lib/Motif1.2 #ifndef HAVE_LIBXMU /* HP-UX doesn't supply Xmu. */ #define LIBXMU /* Unfortunately without libXmu we cannot support EditRes. */ #define NO_EDITRES #endif /* zoo@armadillo.com says we don't need -lXext in HPUX 9. */ #undef LIBX11_SYSTEM /* Tested in getloadavg.c. */ #define HAVE_PSTAT_GETDYNAMIC