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:
parent
7a5b635824
commit
af7a218b47
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue