2018-08-26 09:19:10 -05:00
|
|
|
// 26 august 2018
|
|
|
|
#include "pkgui.h"
|
2018-08-26 12:18:53 -05:00
|
|
|
#include "_cgo_export.h"
|
2018-08-26 09:19:10 -05:00
|
|
|
|
|
|
|
uiInitOptions *pkguiAllocInitOptions(void)
|
|
|
|
{
|
|
|
|
return (uiInitOptions *) pkguiAlloc(sizeof (uiInitOptions));
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiFreeInitOptions(uiInitOptions *o)
|
|
|
|
{
|
|
|
|
free(o);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiQueueMain(uintptr_t n)
|
|
|
|
{
|
|
|
|
uiQueueMain(pkguiDoQueueMain, (void *) n);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiOnShouldQuit(void)
|
|
|
|
{
|
|
|
|
uiOnShouldQuit(pkguiDoOnShouldQuit, NULL);
|
|
|
|
}
|
2018-08-26 12:24:47 -05:00
|
|
|
|
|
|
|
void pkguiWindowOnClosing(uiWindow *w)
|
|
|
|
{
|
|
|
|
uiWindowOnClosing(w, pkguiDoWindowOnClosing, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiButtonOnClicked(uiButton *b)
|
|
|
|
{
|
|
|
|
uiButtonOnClicked(b, pkguiDoButtonOnClicked, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiCheckboxOnToggled(uiCheckbox *c)
|
|
|
|
{
|
|
|
|
uiCheckboxOnToggled(c, pkguiDoCheckboxOnToggled, NULL);
|
|
|
|
}
|