summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-16 21:40:33 -0400
committerPietro Gagliardi <[email protected]>2014-03-16 21:40:33 -0400
commitae554f10c3b652a3dfe765fd63107237e9aafa28 (patch)
treebbe08c7df5c6b88d4087051ed85a5ce2c165f0e4 /sysdata.go
parentab4d286c78b4e240a82b2b191f0d9c8d43c7b44c (diff)
Changed Area to use a delegate handler object that implements the new AreaHandler interface for handling events. Also updated the GTK+ backend with this change, and made a few more tweaks to the documentation in area.go.
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdata.go b/sysdata.go
index 8d44f7f..b31a24e 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -18,11 +18,8 @@ type cSysData struct {
ctype int
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
- mouse chan MouseEvent
+ alternate bool // editable for Combobox, multi-select for listbox, password for lineedit
+ handler AreaHandler // for Areas
}
func (c *cSysData) make(initText string, window *sysData) error {
panic(runtime.GOOS + " sysData does not define make()")