From 70e4841d311d68689724768157cc9cbfbde7a9fc Mon Sep 17 00:00:00 2001 From: StapleButter Date: Sat, 9 Sep 2017 02:30:51 +0200 Subject: another UI attempt, I guess. sorry. --- src/libui_sdl/libui/unix/control.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/libui_sdl/libui/unix/control.c (limited to 'src/libui_sdl/libui/unix/control.c') diff --git a/src/libui_sdl/libui/unix/control.c b/src/libui_sdl/libui/unix/control.c new file mode 100644 index 0000000..f6fdcea --- /dev/null +++ b/src/libui_sdl/libui/unix/control.c @@ -0,0 +1,14 @@ +// 16 august 2015 +#include "uipriv_unix.h" + +void uiUnixControlSetContainer(uiUnixControl *c, GtkContainer *container, gboolean remove) +{ + (*(c->SetContainer))(c, container, remove); +} + +#define uiUnixControlSignature 0x556E6978 + +uiUnixControl *uiUnixAllocControl(size_t n, uint32_t typesig, const char *typenamestr) +{ + return uiUnixControl(uiAllocControl(n, uiUnixControlSignature, typesig, typenamestr)); +} -- cgit v1.2.3