summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysdata.go b/sysdata.go
index 339d73e..c15e922 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -8,15 +8,9 @@ import (
// The sysData type contains all system data. It provides the system-specific underlying implementation. It is guaranteed to have the following by embedding:
type cSysData struct {
ctype int
- parentWindow *sysData
-
- // for Window
- closing chan struct{}
-
- // for Button
- clicked chan struct{}
+ event chan struct{}
}
-func (c *cSysData) make(initText string, initWidth int, initHeight int) error {
+func (c *cSysData) make(initText string, initWidth int, initHeight int, window *sysData) error {
panic(runtime.GOOS + " sysData does not define make()")
}
func (c *cSysData) show() error {