summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-14 11:12:08 -0500
committerPietro Gagliardi <[email protected]>2014-02-14 11:12:08 -0500
commit80f43a613ae073276ce4d31e988cb12e9d0ba480 (patch)
tree1f51857f933333f42dec63e8888ab166434d4b1c /control.go
parent8407bfb0cb9d8e58c40758b552c4eb71fe5f6415 (diff)
Renamed Control.apply() to Control.make().
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 bf204ed..314709c 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 {
- apply(window *sysData) error
+ make(window *sysData) error
setRect(x int, y int, width int, height int) error
}