nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/mnit & implementations: move up `is_move` from Android to abstract
[nit.git]
/
lib
/
mnit
/
input.nit
diff --git
a/lib/mnit/input.nit
b/lib/mnit/input.nit
index
dca8107
..
3bc2ceb
100644
(file)
--- a/
lib/mnit/input.nit
+++ b/
lib/mnit/input.nit
@@
-35,6
+35,9
@@
interface PointerEvent
# Is down? either going down or already down
fun pressed: Bool is abstract
fun depressed: Bool is abstract
+
+ # Is this a movement event?
+ fun is_move: Bool is abstract
end
# A motion event on screen composed of many `PointerEvent`