X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Finput.h;h=d93361c52dae6cbb944d499e08b863da021524b8;hb=HEAD;hp=e4080fd285118b77f0be9fd15c93be7e3e262156;hpb=0b85f1dd5993e2ed111ec2ba13bbbb4ebda06ada;p=rodin%2Fchimara.git diff --git a/libchimara/input.h b/libchimara/input.h index e4080fd..d93361c 100644 --- a/libchimara/input.h +++ b/libchimara/input.h @@ -8,9 +8,17 @@ #include "window.h" #include "event.h" +#include "strio.h" -G_GNUC_INTERNAL gboolean on_window_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win); +G_GNUC_INTERNAL gboolean on_shutdown_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win); +G_GNUC_INTERNAL gboolean on_char_input_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win); +G_GNUC_INTERNAL gboolean on_line_input_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win); G_GNUC_INTERNAL void after_window_insert_text(GtkTextBuffer *textbuffer, GtkTextIter *location, gchar *text, gint len, winid_t win); G_GNUC_INTERNAL void on_input_entry_activate(GtkEntry *input_entry, winid_t win); +G_GNUC_INTERNAL gboolean on_input_entry_key_press_event(GtkEntry *input_entry, GdkEventKey *event, winid_t win); +G_GNUC_INTERNAL void on_input_entry_changed(GtkEditable *editable, winid_t win); +G_GNUC_INTERNAL glui32 keyval_to_glk_keycode(guint keyval, gboolean unicode); +G_GNUC_INTERNAL void force_char_input_from_queue(winid_t win, event_t *event); +G_GNUC_INTERNAL void force_line_input_from_queue(winid_t win, event_t *event); #endif