summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdata.go b/sysdata.go
index b31a24e..cdf6a14 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -17,7 +17,7 @@ func newEvent() chan struct{} {
type cSysData struct {
ctype int
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) []resizerequest
alternate bool // editable for Combobox, multi-select for listbox, password for lineedit
handler AreaHandler // for Areas
}
@@ -109,3 +109,11 @@ func mksysdata(ctype int) *sysData {
},
}
}
+
+type resizerequest struct {
+ sysData *sysData
+ x int
+ y int
+ width int
+ height int
+}