summaryrefslogtreecommitdiff
path: root/desktop/gui.h
diff options
context:
space:
mode:
authorAdrian Lees <adrian@aemulor.com>2005-04-17 03:30:35 +0000
committerAdrian Lees <adrian@aemulor.com>2005-04-17 03:30:35 +0000
commit452a27e74c159096f588e6d27dfabb3b6915ccaa (patch)
tree70de5a4d98b4436c1376b82a636b78a37d10a228 /desktop/gui.h
parent4cb3b99821c7fcafbe322ef456cabe96448d089a (diff)
downloadnetsurf-452a27e74c159096f588e6d27dfabb3b6915ccaa.tar.gz
netsurf-452a27e74c159096f588e6d27dfabb3b6915ccaa.tar.bz2
[project @ 2005-04-17 03:30:35 by adrianl]
Search text highlighting in browser windows svn path=/import/netsurf/; revision=1657
Diffstat (limited to 'desktop/gui.h')
-rw-r--r--desktop/gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/gui.h b/desktop/gui.h
index df87c16ca..df4fe24f0 100644
--- a/desktop/gui.h
+++ b/desktop/gui.h
@@ -41,6 +41,8 @@ typedef enum { GUI_POINTER_DEFAULT, GUI_POINTER_POINT, GUI_POINTER_CARET,
#include "netsurf/content/content.h"
#include "netsurf/desktop/browser.h"
+extern struct gui_window *search_current_window;
+
void gui_init(int argc, char** argv);
void gui_init2(int argc, char** argv);
void gui_multitask(void);
@@ -89,4 +91,8 @@ void gui_create_form_select_menu(struct browser_window *bw,
void gui_launch_url(const char *url);
+bool gui_search_term_highlighted(struct gui_window *g, struct box *box,
+ unsigned *start_idx, unsigned *end_idx);
+
+
#endif