forked from andlabs/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpkgui.h
50 lines (36 loc) · 1.16 KB
/
pkgui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// 12 august 2018
#ifndef pkguiHFileIncluded
#define pkguiHFileIncluded
#include <stdlib.h>
#include <time.h>
#include "ui.h"
// main.go
extern uiInitOptions *pkguiAllocInitOptions(void);
extern void pkguiFreeInitOptions(uiInitOptions *o);
extern void pkguiQueueMain(uintptr_t n);
extern void pkguiOnShouldQuit(void);
// window.go
extern void pkguiWindowOnClosing(uiWindow *w);
// button.go
extern void pkguiButtonOnClicked(uiButton *b);
// checkbox.go
extern void pkguiCheckboxOnToggled(uiCheckbox *c);
// combobox.go
extern void pkguiComboboxOnSelected(uiCombobox *c);
// datetimepicker.go
extern void pkguiDateTimePickerOnChanged(uiDateTimePicker *d);
extern struct tm *pkguiAllocTime(void);
extern void pkguiFreeTime(struct tm *t);
// editablecombobox.go
extern void pkguiEditableComboboxOnChanged(uiEditableCombobox *c);
// entry.go
extern void pkguiEntryOnChanged(uiEntry *e);
// multilineentry.go
extern void pkguiMultilineEntryOnChanged(uiMultilineEntry *e);
// radiobuttons.go
extern void pkguiRadioButtonsOnSelected(uiRadioButtons *r);
// slider.go
extern void pkguiSliderOnChanged(uiSlider *s);
// spinbox.go
extern void pkguiSpinboxOnChanged(uiSpinbox *s);
#endif