github.com/c-darwin/mobile@v0.0.0-20160313183840-ff625c46f7c9/event/paint/paint.go (about) 1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Package paint defines an event for the app being ready to paint. 6 // 7 // See the github.com/c-darwin/mobile/app package for details on the event model. 8 package paint // import "github.com/c-darwin/mobile/event/paint" 9 10 // Event indicates that the app is ready to paint the next frame of the GUI. A 11 // frame is completed by calling the App's EndPaint method. 12 type Event struct { 13 // Generation is a monotonically increasing generation number. 14 Generation uint32 15 }