libui/main_unix.c

21 lines
247 B
C
Raw Normal View History

// 6 april 2015
#include "uipriv_unix.h"
// #qo pkg-config: gtk+-3.0
void uiMain(void)
{
gtk_main();
}
void uiQuit(void)
{
gtk_main_quit();
}
// TODO move somewhere else
uintptr_t uiControlHandle(uiControl *c)
{
return (*(c->handle))(c);
}