flushes out key input info currently in ui.
| 236 | } |
| 237 | // flushes out key input info currently in ui. |
| 238 | void ui_KeyFlush() { |
| 239 | UI_input.key = 0; |
| 240 | UI_input.key_first_press = false; |
| 241 | UI_input.key_status = 0; |
| 242 | UI_input.last_key = 0; |
| 243 | UI_input.last_key_status = 0; |
| 244 | UI_input.printscreen = false; |
| 245 | ddio_KeyFlush(); |
| 246 | } |
| 247 | // closes UI system. do this when setting a new surface. |
| 248 | void ui_Close() { |
| 249 | if (UI_cursor_bm > -1) { |
no test coverage detected