summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-12 21:23:53 -0500
committerPietro Gagliardi <[email protected]>2014-02-12 21:23:53 -0500
commit942490e1aa1fab8978fdb0b70e30ee78793d0fd4 (patch)
treeac4a08fe5e02d64ee5ee38a6564d29ed38e845ac /control.go
parent403ca883162c9e756d38fc7d1cc96d5d2dd26850 (diff)
Adjusted Control and Window for the new 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 54f92d1..4e1243e 100644
--- a/control.go
+++ b/control.go
@@ -8,7 +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 {
- apply() error
+ apply(window *sysData) error
setParent(c Control)
- parentWindow() *Window
}