From 6ee760dea3b2743539f0c1bccec25d446f1b78b4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 22 Nov 2013 11:21:52 +0000 Subject: Start URL bar hotlist indicator button implementation. - Clicking to hotlist add/remove doesn't work. - Doesn't update while typing in URL bar. --- riscos/gui/url_bar.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'riscos/gui/url_bar.h') diff --git a/riscos/gui/url_bar.h b/riscos/gui/url_bar.h index 0f5c6bc14..edc77640b 100644 --- a/riscos/gui/url_bar.h +++ b/riscos/gui/url_bar.h @@ -38,6 +38,20 @@ typedef enum { struct url_bar; +/** + * Initialise the url bar module. + * + * \return True iff success, else false. + */ + +bool ro_gui_url_bar_init(void); + +/** + * Finalise the url bar module + */ + +void ro_gui_url_bar_fini(void); + /** * Create a new url bar widget. * @@ -120,7 +134,7 @@ bool ro_gui_url_bar_hide(struct url_bar *url_bar, bool hide); /** - * Handle redraw event rectangles in a URL bat. + * Handle redraw event rectangles in a URL bar. * * \param *url_bar The URL bar to use. * \param *redraw The Wimp redraw rectangle to process. -- cgit v1.2.3