2015-04-06 11:20:51 -05:00
|
|
|
// 6 april 2015
|
2015-04-06 23:26:27 -05:00
|
|
|
#include "uipriv_unix.h"
|
2015-04-06 11:20:51 -05:00
|
|
|
|
2015-04-06 16:41:33 -05:00
|
|
|
// #qo pkg-config: gtk+-3.0
|
|
|
|
|
2015-04-06 11:20:51 -05:00
|
|
|
void uiMain(void)
|
|
|
|
{
|
|
|
|
gtk_main();
|
|
|
|
}
|
|
|
|
|
|
|
|
void uiQuit(void)
|
|
|
|
{
|
|
|
|
gtk_main_quit();
|
|
|
|
}
|
2015-04-07 12:22:46 -05:00
|
|
|
|
|
|
|
// TODO move somewhere else
|
|
|
|
uintptr_t uiControlHandle(uiControl *c)
|
|
|
|
{
|
|
|
|
return (*(c->handle))(c);
|
|
|
|
}
|