split modules and fix Ev
This commit is contained in:
parent
2154a10db4
commit
82d74ad985
18 changed files with 208 additions and 225 deletions
12
src/ev.ml
Normal file
12
src/ev.ml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue