diff options
author | Loïc Hoguin <[email protected]> | 2017-12-24 21:47:54 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-12-24 21:47:54 +0100 |
commit | 818e1558b0dcfd0238a9eb9bb86fb103e63483b6 (patch) | |
tree | 7883ae39fd96cf069b4e0fd317cfa59c358027c9 /c_src/esdl2.h | |
parent | 6e4d688f241906d350aa1dacab6c2ba1488cf8f4 (diff) | |
download | esdl2-818e1558b0dcfd0238a9eb9bb86fb103e63483b6.tar.gz esdl2-818e1558b0dcfd0238a9eb9bb86fb103e63483b6.tar.bz2 esdl2-818e1558b0dcfd0238a9eb9bb86fb103e63483b6.zip |
Add the direction in the mouse wheel events
Diffstat (limited to 'c_src/esdl2.h')
-rw-r--r-- | c_src/esdl2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c_src/esdl2.h b/c_src/esdl2.h index c265110..8fcca31 100644 --- a/c_src/esdl2.h +++ b/c_src/esdl2.h @@ -37,6 +37,7 @@ A(close) \ A(crosshair) \ A(data) \ + A(direction) \ A(enter) \ A(error) \ A(event) \ @@ -296,6 +297,7 @@ NIF_FUNCTIONS(NIF_FUNCTION_H_DECL) NIF_ATOM_TO_ENUM_FUNCTION_DECL(atom_to_bool, SDL_bool) NIF_ATOM_TO_ENUM_FUNCTION_DECL(atom_to_blend_mode, SDL_BlendMode) NIF_ENUM_TO_ATOM_FUNCTION_DECL(blend_mode_to_atom, SDL_BlendMode) +NIF_ENUM_TO_ATOM_FUNCTION_DECL(mousewheel_direction_to_atom, Uint32) // -- |