mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Pass keypresses on to treeview.
This commit is contained in:
parent
df1667bd58
commit
743ffa2a46
@ -740,3 +740,10 @@ void global_history_mouse_action(browser_mouse_state mouse, int x, int y)
|
||||
treeview_mouse_action(gh_ctx.tree, mouse, x, y);
|
||||
}
|
||||
|
||||
|
||||
/* Exported interface, documented in global_history.h */
|
||||
void global_history_keypress(uint32_t key)
|
||||
{
|
||||
treeview_keypress(gh_ctx.tree, key);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user