summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--new/ui.idl12
1 files changed, 6 insertions, 6 deletions
diff --git a/new/ui.idl b/new/ui.idl
index d61311b..9740f48 100644
--- a/new/ui.idl
+++ b/new/ui.idl
@@ -117,7 +117,7 @@ func uiNewWindow(title *const char, width int, height int) *Window;
interface Button from Control {
func Text(void) *char;
- func SetText(text *const char)
+ func SetText(text *const char);
func OnClicked(f *func(b *Button, data *void), data *void);
};
func NewButton(text *const char) *Button;
@@ -135,7 +135,7 @@ interface Entry from Control {
func Text(void) *char;
func SetText(text *const char);
};
-func NewEntry() *Entry;
+func NewEntry(void) *Entry;
interface Checkbox from Control {
func Text(void) *char;
@@ -150,12 +150,12 @@ interface Label from Control {
func Text(void) *char;
func SetText(text *const char);
};
-func NewLabel() *Label;
+func NewLabel(void) *Label;
interface Tab from Control {
- AddPage(name *const char, c *Control);
-}
-func NewTab() *Tab;
+ func AddPage(name *const char, c *Control);
+};
+func NewTab(void) *Tab;
raw "#endif";