Files
nethack/doc
PatR 757c51bb3c X11 menus - support pre-selected menu entries
X11 had been ignoring add_menu(..., MENU_SELECTED) to specify a
pre-selected menu entry.  This adds support for that.

Attempt to implement pre-selected entry for PICK_ONE menu sanely by
returning the pre-selected entry instead of toggling it off if the
user chooses it explicitly.   Inner workings of menus are convoluted
so I'm not sure it's 100% correct, although testing hasn't found any
problems.  (tty currently returns 0 for "nothing picked" when
explicitly picking a pre-selected entry in a PICK_ONE menu, and the
core jumps through hoops to handle it.  That can't be cleaned up until
all interfaces which support pre-selected entries achieve sanity.)

Make "random" be chosen for <return> or <enter> during role selection
and highlight it to reflect that.  (Role selection for X11 uses its
own code instead of nethack menus, so pre-selection isn't applicable.)
2016-01-30 19:39:29 -08:00
..
2015-03-31 09:50:02 -04:00
2015-02-26 16:35:55 -05:00
2015-05-25 09:21:31 +09:00
2002-01-05 21:05:47 +00:00
2015-05-25 09:21:31 +09:00
2002-01-05 21:05:47 +00:00
2002-01-11 18:02:22 +00:00
2015-05-25 09:21:31 +09:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2003-05-11 13:40:01 +00:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-12-10 19:10:26 -05:00
2016-01-19 01:46:13 -08:00
2016-01-19 01:46:13 -08:00
2016-01-19 01:46:13 -08:00
2002-01-05 21:05:47 +00:00
2015-05-25 09:21:31 +09:00
2010-05-01 23:10:22 +00:00
2015-12-08 15:15:00 -08:00
2015-12-08 15:15:00 -08:00