MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ui_KeyFlush

Function ui_KeyFlush

ui/UISystem.cpp:238–246  ·  view source on GitHub ↗

flushes out key input info currently in ui.

Source from the content-addressed store, hash-verified

236}
237// flushes out key input info currently in ui.
238void 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.
248void ui_Close() {
249 if (UI_cursor_bm > -1) {

Callers 1

ui_FlushFunction · 0.85

Calls 1

ddio_KeyFlushFunction · 0.85

Tested by

no test coverage detected