| 811 | } |
| 812 | |
| 813 | win_request_info * |
| 814 | curses_ctrl_nhwindow( |
| 815 | winid window UNUSED, |
| 816 | int request, |
| 817 | win_request_info *wri) |
| 818 | { |
| 819 | int attr; |
| 820 | |
| 821 | if (!wri) |
| 822 | return (win_request_info *) 0; |
| 823 | |
| 824 | switch (request) { |
| 825 | case set_mode: |
| 826 | case request_settings: |
| 827 | break; |
| 828 | case set_menu_promptstyle: |
| 829 | curses_menu_promptstyle.color = wri->fromcore.menu_promptstyle.color; |
| 830 | if (curses_menu_promptstyle.color == NO_COLOR) |
| 831 | curses_menu_promptstyle.color = NONE; |
| 832 | attr = wri->fromcore.menu_promptstyle.attr; |
| 833 | curses_menu_promptstyle.attr = curses_convert_attr(attr);; |
| 834 | break; |
| 835 | default: |
| 836 | break; |
| 837 | } |
| 838 | return wri; |
| 839 | } |
| 840 | |
| 841 | /* |
| 842 | mark_synch() -- Don't go beyond this point in I/O on any channel until |
nothing calls this directly
no test coverage detected