summaryrefslogtreecommitdiff
path: root/prevlib/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-02 17:13:40 -0400
committerPietro Gagliardi <[email protected]>2014-07-02 17:13:40 -0400
commit5d339e656b66d00356960ae057969532d34245b4 (patch)
tree01f00932aba2a4b996603beeda788995e0f0a382 /prevlib/control.go
parent2d7e168e6a350a0cfb52970fbf74c9e37834eaec (diff)
Moved everything out of the way pending rewrite.
Diffstat (limited to 'prevlib/control.go')
-rw-r--r--prevlib/control.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/prevlib/control.go b/prevlib/control.go
new file mode 100644
index 0000000..4da2694
--- /dev/null
+++ b/prevlib/control.go
@@ -0,0 +1,9 @@
+// 11 february 2014
+
+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
+ controlSizing
+}