mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 16:35:36 +00:00
ui/input: move Router and input queues to internal package
Now that only app.Window needs the Router, make it unavailable for clients. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-1
@@ -12,6 +12,7 @@ import (
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/app/internal/gpu"
|
||||
"gioui.org/ui/input"
|
||||
iinput "gioui.org/ui/app/internal/input"
|
||||
"gioui.org/ui/internal/ops"
|
||||
"gioui.org/ui/key"
|
||||
)
|
||||
@@ -46,7 +47,7 @@ type Window struct {
|
||||
nextFrame time.Time
|
||||
delayedDraw *time.Timer
|
||||
|
||||
router input.Router
|
||||
router iinput.Router
|
||||
reader ui.OpsReader
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user