aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/common
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-09-17 23:25:32 +0200
committerStapleButter <thetotalworm@gmail.com>2017-09-17 23:25:32 +0200
commit8e7d46e717cc189681608adceeec84bb483b8f70 (patch)
treef30035614b45c07c0d30b21bca920b48b320ef76 /src/libui_sdl/libui/common
parent66106a882954385e460bfbb3fb3422e13c45b4ba (diff)
* attempt at keyboard input, via raw scancodes
* load config, etc * some things are nicer, too
Diffstat (limited to 'src/libui_sdl/libui/common')
-rw-r--r--src/libui_sdl/libui/common/control.c5
1 files changed, 5 insertions, 0 deletions
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)