From 5d339e656b66d00356960ae057969532d34245b4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 2 Jul 2014 17:13:40 -0400 Subject: Moved everything out of the way pending rewrite. --- prevlib/control.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 prevlib/control.go (limited to 'prevlib/control.go') 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 +} -- cgit v1.2.3