io/pointer,gesture,app/internal/window: add pointer.Scroll event type

Signed-off-by: Gordon Klaus <gordon.klaus@gmail.com>
This commit is contained in:
Gordon Klaus
2020-06-02 16:58:31 +02:00
committed by Elias Naur
parent 275a91f26a
commit e188d0e6ff
8 changed files with 15 additions and 9 deletions
+4
View File
@@ -94,6 +94,8 @@ const (
Enter
// Pointer leaves an area watching for pointer input
Leave
// Scroll of a pointer.
Scroll
)
const (
@@ -179,6 +181,8 @@ func (t Type) String() string {
return "Enter"
case Leave:
return "Leave"
case Scroll:
return "Scroll"
default:
panic("unknown Type")
}