2015-07-15 17:17:08 +10:00
|
|
|
// Copyright 2015 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
// Package paint defines an event for the app being ready to paint.
|
|
|
|
//
|
2015-07-16 15:53:00 +10:00
|
|
|
// See the golang.org/x/mobile/app package for details on the event model.
|
2015-07-15 17:17:08 +10:00
|
|
|
package paint // import "golang.org/x/mobile/event/paint"
|
|
|
|
|
|
|
|
// Event indicates that the app is ready to paint the next frame of the GUI. A
|
2015-07-16 11:45:52 +10:00
|
|
|
// frame is completed by calling the App's EndPaint method.
|
2015-07-29 12:26:32 -04:00
|
|
|
type Event struct {
|
|
|
|
// Generation is a monotonically increasing generation number.
|
|
|
|
Generation uint32
|
|
|
|
}
|