* End a menu in this window, window must a type NHW_MENU. * str is a list of cancel characters (values that may be input) * morestr is a prompt to display, rather than the default. * str and morestr might be ignored by some ports. */
| 2021 | * str and morestr might be ignored by some ports. |
| 2022 | */ |
| 2023 | void |
| 2024 | mac_end_menu(winid win, const char *morestr) |
| 2025 | { |
| 2026 | Str255 buf; |
| 2027 | NhWindow *aWin = &theWindows[win]; |
| 2028 | |
| 2029 | buf[0] = 0; |
| 2030 | if (morestr) |
| 2031 | C2P(morestr, buf); |
| 2032 | SetWTitle(aWin->its_window, buf); |
| 2033 | } |
| 2034 | |
| 2035 | int |
| 2036 | mac_select_menu(winid win, int how, menu_item **selected_list) |