From 8e7d46e717cc189681608adceeec84bb483b8f70 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Sun, 17 Sep 2017 23:25:32 +0200 Subject: * attempt at keyboard input, via raw scancodes * load config, etc * some things are nicer, too --- src/libui_sdl/libui/common/control.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libui_sdl/libui/common') diff --git a/src/libui_sdl/libui/common/control.c b/src/libui_sdl/libui/common/control.c index 2806646..771a29d 100644 --- a/src/libui_sdl/libui/common/control.c +++ b/src/libui_sdl/libui/common/control.c @@ -57,6 +57,11 @@ void uiControlDisable(uiControl *c) (*(c->Disable))(c); } +void uiControlSetFocus(uiControl *c) +{ + (*(c->SetFocus))(c); +} + #define uiControlSignature 0x7569436F uiControl *uiAllocControl(size_t size, uint32_t OSsig, uint32_t typesig, const char *typenamestr) -- cgit v1.2.3