ui/pointer: expand documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-11 13:46:27 +02:00
parent 1a9e03bf68
commit 9cc6757da9
5 changed files with 179 additions and 16 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: Unlicense OR MIT
/*
Package key implements key and text input handling.
Package key implements key and text events and
operations.
The HandlerOp operations is used for declaring key
input handlers. Use the Queue interface from package
@@ -28,7 +29,7 @@ type HandlerOp struct {
// be hidden.
type HideInputOp struct{}
// FocusEvent is sent when a handler gains or looses
// FocusEvent is sent when a handler gains or loses
// focus.
type FocusEvent struct {
Focus bool