summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-25 22:07:37 -0400
committerPietro Gagliardi <[email protected]>2014-06-25 22:07:37 -0400
commite4992dbcb2292a07c7d901dbe21f2d40f6af7a95 (patch)
tree76a2a4d3b0f08f2b91696f0c5eb176335f6c56d0 /control.go
parentcf1da0218c4184d5200eae56defe33a9893df4a1 (diff)
Began the work for moving everything to the new control sizing system.
Diffstat (limited to 'control.go')
-rw-r--r--control.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/control.go b/control.go
index 5cf9359..4da2694 100644
--- a/control.go
+++ b/control.go
@@ -5,6 +5,5 @@ package ui
// 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, create an Area and provide an AreaHandler that does what you need.
type Control interface {
make(window *sysData) error
- setRect(x int, y int, width int, height int, rr *[]resizerequest)
- preferredSize() (width int, height int, yoff int)
+ controlSizing
}