| 108 | } |
| 109 | |
| 110 | void wait_for_keypress_char(image_window& win, const char wait_key) { |
| 111 | unsigned long key; |
| 112 | bool is_printable; |
| 113 | while(win.get_next_keypress(key,is_printable)) |
| 114 | { |
| 115 | if (is_printable && (char)key == wait_key) |
| 116 | return; |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | void wait_for_keypress_other(image_window& win, const base_window::non_printable_keyboard_keys wait_key) { |
| 121 | unsigned long key; |
nothing calls this directly
no test coverage detected