Files
nethack/win/Qt
nhmall 4b79baa55b add_menu follow-up, part 2 of interface adjustment
Remove menu_color support from the window port side of the interface.
The window port just has to honor the color parameter that was added
to the add_menu() interface definition in June 2022 commit
2770223d10, and let the core-side of
the interface handle things.

To that end, this does the following:

Removes the #define of add_menu() from include/winprocs.h and add a
real core-side add_menu() function to windows.c which acts as a
trampoline to the window port win_add_menu() function, while providing
a single location to adjust the parameters passed to the window port
function. get_menu_coloring() is now called in there.

Moves get_menu_coloring() from options.c into windows.c and makes it
static.

Removes all the calls to get_menu_coloring() from the tty, Qt, X11,
curses, and win32 interfaces and adjusts their code to simply honor
the color parameter in add_menu, similar to what the menu_headings
change from earlier today did.
2023-11-13 12:56:38 -05:00
..
2019-12-07 17:07:50 +01:00
2019-12-07 17:07:50 +01:00
2021-12-30 11:29:03 -08:00
2019-12-07 17:07:50 +01:00
2020-12-27 17:01:33 -08:00
2019-12-07 17:07:50 +01:00
2021-12-30 11:29:03 -08:00
2019-12-07 17:07:50 +01:00
2022-11-23 13:11:14 -08:00
2022-01-04 12:23:06 -08:00
2022-11-23 13:11:14 -08:00
2023-01-22 12:35:54 -08:00
2019-12-07 17:07:50 +01:00
2021-12-30 11:29:03 -08:00
2021-01-08 13:47:34 -08:00
2021-12-30 11:29:03 -08:00
2019-12-07 17:07:50 +01:00
2023-06-04 17:19:45 -04:00
2022-11-29 21:53:21 -05:00
2022-01-10 13:23:09 -08:00
2022-06-11 13:52:58 -04:00
2023-04-04 14:25:24 -04:00
2022-11-23 13:11:14 -08:00
2019-12-07 17:07:50 +01:00
2020-12-06 02:58:05 -08:00
2022-11-29 21:53:21 -05:00
2022-11-23 13:11:14 -08:00
2022-11-23 13:11:14 -08:00
2021-12-30 11:29:03 -08:00
2020-11-05 14:36:13 -08:00
2022-10-27 21:51:10 -04:00
2019-12-07 17:07:50 +01:00
2022-11-23 13:11:14 -08:00
2021-04-11 14:55:45 -07:00
2022-11-29 21:53:21 -05:00
2020-10-31 15:34:47 -07:00