Added Area support in sysdata.go so the package can compile again. Now to do that big change mentioned in the previous commit: overhaul of the GTK+ signal system.

This commit is contained in:
Pietro Gagliardi 2014-03-14 18:47:18 -04:00
parent 7a5b635824
commit af7a218b47
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,9 @@ type cSysData struct {
event chan struct{} event chan struct{}
resize func(x int, y int, width int, height int, winheight int) error resize func(x int, y int, width int, height int, winheight int) error
alternate bool // editable for Combobox, multi-select for listbox, password for lineedit alternate bool // editable for Combobox, multi-select for listbox, password for lineedit
// for Area
paint chan PaintRequest
} }
func (c *cSysData) make(initText string, window *sysData) error { func (c *cSysData) make(initText string, window *sysData) error {
panic(runtime.GOOS + " sysData does not define make()") panic(runtime.GOOS + " sysData does not define make()")
@ -97,6 +100,7 @@ const (
c_label c_label
c_listbox c_listbox
c_progressbar c_progressbar
c_area
nctypes nctypes
) )