54 lines
1.0 KiB
C
54 lines
1.0 KiB
C
// 26 august 2018
|
|
#include "pkgui.h"
|
|
#include "_cgo_export.h"
|
|
|
|
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);
|
|
}
|
|
|
|
void pkguiWindowOnClosing(uiWindow *w)
|
|
{
|
|
uiWindowOnClosing(w, pkguiDoWindowOnClosing, NULL);
|
|
}
|
|
|
|
void pkguiButtonOnClicked(uiButton *b)
|
|
{
|
|
uiButtonOnClicked(b, pkguiDoButtonOnClicked, NULL);
|
|
}
|
|
|
|
void pkguiCheckboxOnToggled(uiCheckbox *c)
|
|
{
|
|
uiCheckboxOnToggled(c, pkguiDoCheckboxOnToggled, NULL);
|
|
}
|
|
|
|
void pkguiComboboxOnSelected(uiCombobox *c)
|
|
{
|
|
uiComboboxOnSelected(c, pkguiDoComboboxOnSelected, NULL);
|
|
}
|
|
|
|
void pkguiEditableComboboxOnChanged(uiEditableCombobox *c)
|
|
{
|
|
uiEditableComboboxOnChanged(c, pkguiDoEditableComboboxOnChanged, NULL);
|
|
}
|
|
|
|
void pkguiEntryOnChanged(uiEntry *e)
|
|
{
|
|
uiEntryOnChanged(e, pkguiDoEntryOnChanged, NULL);
|
|
}
|