From 8a81650b3da7ce00725336df9e03b38e935c5a65 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 2 Jul 2014 22:53:03 -0400 Subject: Moved it all back; the preemptive multitaksing during an event handler kills us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer). --- prevlib/control.go | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 prevlib/control.go (limited to 'prevlib/control.go') diff --git a/prevlib/control.go b/prevlib/control.go deleted file mode 100644 index 4da2694..0000000 --- a/prevlib/control.go +++ /dev/null @@ -1,9 +0,0 @@ -// 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