io/event: move event types from package ui to its own package

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-09-30 15:13:25 +02:00
parent 7a259e68f7
commit e7a97bf176
16 changed files with 107 additions and 94 deletions
+2 -1
View File
@@ -6,13 +6,14 @@ package profile
import (
"gioui.org/internal/opconst"
"gioui.org/io/event"
"gioui.org/ui"
)
// Op registers a handler for receiving
// Events.
type Op struct {
Key ui.Key
Key event.Key
}
// Event contains profile data from a single