aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/esdl2.h
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/esdl2.h')
-rw-r--r--c_src/esdl2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c_src/esdl2.h b/c_src/esdl2.h
index 7fa237f..31a1fcc 100644
--- a/c_src/esdl2.h
+++ b/c_src/esdl2.h
@@ -272,12 +272,17 @@
F(get_key_from_name, 1) \
F(get_key_from_scancode, 1) \
F(get_key_name, 1) \
+ F(get_keyboard_focus, 0) \
+ F(get_keyboard_state, 0) \
F(get_mod_state, 0) \
F(get_scancode_from_key, 1) \
F(get_scancode_from_name, 1) \
F(get_scancode_name, 1) \
+ F(has_screen_keyboard_support, 0) \
+ F(is_screen_keyboard_shown, 1) \
F(is_text_input_active, 0) \
F(set_mod_state, 1) \
+ F(set_text_input_rect, 1) \
F(start_text_input, 0) \
F(stop_text_input, 0) \
/* sdl_mouse */ \
@@ -384,6 +389,9 @@ NIF_ENUM_TO_ATOM_FUNCTION_DECL(window_event_to_atom, Uint8)
NIF_LIST_TO_FLAGS_FUNCTION_DECL(keymod_list_to_flags, Uint16)
NIF_FLAGS_TO_LIST_FUNCTION_DECL(keymod_flags_to_list, Uint16)
+int map_to_point(ErlNifEnv*, ERL_NIF_TERM, SDL_Point*);
+int map_to_rect(ErlNifEnv*, ERL_NIF_TERM, SDL_Rect*);
+
ERL_NIF_TERM mouse_state_to_list(ErlNifEnv*, Uint32);
// --