split modules and fix Ev

This commit is contained in:
Swrup 2022-04-07 14:45:11 +02:00
parent 2154a10db4
commit 82d74ad985
18 changed files with 208 additions and 225 deletions

12
src/ev.ml Normal file
View file

@ -0,0 +1,12 @@
type type' = Jv.t
module Event = struct
(*type for simple Event *)
type t = type'
end
module Mouse = struct
type t = type'
let latlng e = Latlng.of_jv_t @@ Jv.get e "latlng"
end