summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-17 13:37:51 -0400
committerPietro Gagliardi <[email protected]>2014-03-17 13:37:51 -0400
commit4adf1ae5cdc4d0aa0005ee68f4c1195a7f0d73b7 (patch)
tree5322a75d7367a7533aa6b9210d7c8f45a3bab37b /test/main.go
parent7c3647712b38e08a8f0daa970ab1a2b0857df8b0 (diff)
Removed the mutexes from Labels and Areas because I'm at my wits end about settling the deadlock between window resizing and setting a Label's text.
Diffstat (limited to 'test/main.go')
-rw-r--r--test/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main.go b/test/main.go
index e032aca..6023991 100644
--- a/test/main.go
+++ b/test/main.go
@@ -120,7 +120,7 @@ type areaHandler struct {
img *image.NRGBA
}
func (a *areaHandler) Paint(rect image.Rectangle) *image.NRGBA {
-fmt.Println(rect)
+//fmt.Println(rect)
/*
req.Out <- img[i].SubImage(req.Rect).(*image.NRGBA)
if lastrect != req.Rect {
@@ -131,7 +131,7 @@ fmt.Println(rect)
return a.img.SubImage(rect).(*image.NRGBA)
}
func (a *areaHandler) Mouse(e MouseEvent) {
- fmt.Printf("%#v\n", e)
+// fmt.Printf("%#v\n", e)
}
var doArea = flag.Bool("area", false, "run area test instead")