summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
Diffstat (limited to 'control.go')
-rw-r--r--control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/control.go b/control.go
index 1c610b1..3f54afe 100644
--- a/control.go
+++ b/control.go
@@ -8,6 +8,6 @@ import (
// A Control represents an UI control. Note that Control contains unexported members; this has the consequence that you can't build custom controls that interface directly with the system-specific code (fo rinstance, to import an unsupported control), or at least not without some hackery. If you want to make your own controls, embed Area and provide its necessities.
type Control interface {
make(window *sysData) error
- setRect(x int, y int, width int, height int) error
+ setRect(x int, y int, width int, height int, winheight int) error
preferredSize() (width int, height int, err error)
}