aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/common/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/libui/common/control.c')
-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)