app, event/paint: plumb through paint Generation

Change-Id: I82bac0dc24943c64560a0bac4687cbbbb8b5c328
Reviewed-on: https://go-review.googlesource.com/12841
Reviewed-by: Nigel Tao <nigeltao@golang.org>
This commit is contained in:
David Crawshaw
2015-07-30 16:09:38 +00:00
parent dbb9fceceb
commit 0c8ff9f648
7 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ func main() {
touchLoc = geom.Point{c.WidthPt / 2, c.HeightPt / 2}
case paint.Event:
onPaint(c)
a.EndPaint()
a.EndPaint(e)
case touch.Event:
touchLoc = e.Loc
}