diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-15 18:45:52 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-15 18:45:52 -0400 |
| commit | 7174ebb3f6f11aa6610f9aeb7ca8ff355ebac188 (patch) | |
| tree | 84a7bdecc19cf4221166d8a0cc198da1fc8b1846 | |
| parent | 86dbd5e8d2da9be32a437cc1bcfd7aedf57508a1 (diff) | |
Fixed errors in ui.idl.
| -rw-r--r-- | new/ui.idl | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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"; |
