diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 14:23:22 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-28 14:23:22 +0100 |
commit | bd39d108db34ccc78199c088c430870d4038b71f (patch) | |
tree | a38276e6d3ca850e9e781b9142cc5064c2525c98 /desktop/global_history.h | |
parent | 91018643db6bdd3ff4d78ff3a502ed4dbfd74a1b (diff) | |
download | netsurf-bd39d108db34ccc78199c088c430870d4038b71f.tar.gz netsurf-bd39d108db34ccc78199c088c430870d4038b71f.tar.bz2 |
Add a few functions for front ends to use.
Diffstat (limited to 'desktop/global_history.h')
-rw-r--r-- | desktop/global_history.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/desktop/global_history.h b/desktop/global_history.h index 9d1dc4523..6e5ff1ecc 100644 --- a/desktop/global_history.h +++ b/desktop/global_history.h @@ -90,7 +90,6 @@ 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. * @@ -99,4 +98,18 @@ void global_history_mouse_action(browser_mouse_state mouse, int x, int y); */ void global_history_keypress(uint32_t key); +/** + * Determine whether there is a selection + * + * \return true iff there is a selection + */ +bool global_history_has_selection(void); + +/** + * Find current height + * + * \return height in px + */ +int global_history_get_height(void); + #endif |