window port interface change - add mbehavior flags to start_menu()
Provide a way to communicate additional behaviors and/or appearances desired from NetHack window port menus. This is foundation work for changes to follow at a future date.
This commit is contained in:
@@ -1108,7 +1108,7 @@ ActivateCell(HWND hWnd, int cell)
|
||||
pSet = nhcmdset_default;
|
||||
|
||||
wid = mswin_create_nhwindow(NHW_MENU);
|
||||
mswin_start_menu(wid);
|
||||
mswin_start_menu(wid, MENU_BEHAVE_STANDARD);
|
||||
for (i = 0; i < nhcmdset_count(pSet); i++) {
|
||||
any.a_void = nhcmdset_get(pSet, i);
|
||||
mswin_add_menu(wid, NO_GLYPH, &any, 'a' + i, 0, ATR_NONE,
|
||||
|
||||
Reference in New Issue
Block a user