From 743ffa2a46cd8f5a52bab88e9ec6e5ba1b962e6a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 1 Jul 2013 11:48:43 +0100 Subject: Pass keypresses on to treeview. --- desktop/global_history.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'desktop/global_history.h') diff --git a/desktop/global_history.h b/desktop/global_history.h index 4564920ce..591b1fe6f 100644 --- a/desktop/global_history.h +++ b/desktop/global_history.h @@ -70,4 +70,13 @@ void global_history_redraw(int x, int y, struct rect *clip, */ void global_history_mouse_action(browser_mouse_state mouse, int x, int y); + +/** + * Key press handling. + * + * \param key The ucs4 character codepoint + * \return true if the keypress is dealt with, false otherwise. + */ +void global_history_keypress(uint32_t key); + #endif -- cgit v1.2.3