summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-13 05:28:26 -0500
committerPietro Gagliardi <[email protected]>2014-02-13 05:28:26 -0500
commit5626b9e35c5824707a905a26f9b074240cd54e7a (patch)
treea5f4a22013ad236a65aadf38d3346e6bffd70653 /control.go
parentae9afced2afe8d4d80ecaf4ff3d09f09d3c9c3df (diff)
Added sizing of windows and the main window control. It presently deadlocks; I'll need to redo my mutexes...
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 4e1243e..a1f83af 100644
--- a/control.go
+++ b/control.go
@@ -9,5 +9,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
+ setRect(x int, y int, width int, height int) error
setParent(c Control)
}