summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-14 18:47:18 -0400
committerPietro Gagliardi <[email protected]>2014-03-14 18:47:18 -0400
commitaf7a218b473e8602ad818dbf9688efa5d3594648 (patch)
tree4fdf21bff6ef44871eacb120c8aa4489fcff345d /sysdata.go
parent7a5b6358245018c232841dcf3dfa14ad97e75b73 (diff)
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.
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdata.go b/sysdata.go
index 869ed0a..93f521c 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -19,6 +19,9 @@ type cSysData struct {
event chan struct{}
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
+
+ // for Area
+ paint chan PaintRequest
}
func (c *cSysData) make(initText string, window *sysData) error {
panic(runtime.GOOS + " sysData does not define make()")
@@ -97,6 +100,7 @@ const (
c_label
c_listbox
c_progressbar
+ c_area
nctypes
)