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);
|
|
|
|
}
|
2018-08-26 12:33:54 -05:00
|
|
|
|
|
|
|
void pkguiComboboxOnSelected(uiCombobox *c)
|
|
|
|
{
|
|
|
|
uiComboboxOnSelected(c, pkguiDoComboboxOnSelected, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiEditableComboboxOnChanged(uiEditableCombobox *c)
|
|
|
|
{
|
|
|
|
uiEditableComboboxOnChanged(c, pkguiDoEditableComboboxOnChanged, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiEntryOnChanged(uiEntry *e)
|
|
|
|
{
|
|
|
|
uiEntryOnChanged(e, pkguiDoEntryOnChanged, NULL);
|
|
|
|
}
|
2018-08-26 12:43:05 -05:00
|
|
|
|
|
|
|
void pkguiMultilineEntryOnChanged(uiMultilineEntry *e)
|
|
|
|
{
|
|
|
|
uiMultilineEntryOnChanged(e, pkguiDoMultilineEntryOnChanged, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiRadioButtonsOnSelected(uiRadioButtons *r)
|
|
|
|
{
|
|
|
|
uiRadioButtonsOnSelected(r, pkguiDoRadioButtonsOnSelected, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiSliderOnChanged(uiSlider *s)
|
|
|
|
{
|
|
|
|
uiSliderOnChanged(s, pkguiDoSliderOnChanged, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pkguiSpinboxOnChanged(uiSpinbox *s)
|
|
|
|
{
|
|
|
|
uiSpinboxOnChanged(s, pkguiDoSpinboxOnChanged, NULL);
|
|
|
|
}
|