summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-24 10:56:35 -0500
committerPietro Gagliardi <[email protected]>2014-02-24 10:56:35 -0500
commit53db57745f2b0bdb0d6097d6d12d3d7af8f6c639 (patch)
tree38e76e5341b85e420003f3bc830d9f09faf9245f /control.go
parent1510af0005529659798e69fcd9c8f545ee0aa3e1 (diff)
Added Control.preferredSize() and preferredSize() for all the standard Controls.
Diffstat (limited to 'control.go')
-rw-r--r--control.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/control.go b/control.go
index 16f94bb..1c610b1 100644
--- a/control.go
+++ b/control.go
@@ -9,4 +9,5 @@ import (
type Control interface {
make(window *sysData) error
setRect(x int, y int, width int, height int) error
+ preferredSize() (width int, height int, err error)
}