From 56bb9582b16dfd45bbd1665adaf87c6c5986aed3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 12 Jan 2014 10:27:41 +0000 Subject: move set title, set url, start and stop throbber window operations to gui table --- beos/gui.cpp | 7 +++++++ beos/scaffolding.h | 5 +++++ 2 files changed, 12 insertions(+) (limited to 'beos') diff --git a/beos/gui.cpp b/beos/gui.cpp index 22c45598d..c5e2fe482 100644 --- a/beos/gui.cpp +++ b/beos/gui.cpp @@ -1089,8 +1089,15 @@ void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl, static struct gui_table beos_gui_table = { .poll = gui_poll, .quit = gui_quit, + .window_create = gui_window_create, .window_destroy = gui_window_destroy, + + .window_set_title = gui_window_set_title, + .window_set_url = gui_window_set_url, + .window_start_throbber = gui_window_start_throbber, + .window_stop_throbber = gui_window_stop_throbber, + }; diff --git a/beos/scaffolding.h b/beos/scaffolding.h index 1b78d54a8..210499fc7 100644 --- a/beos/scaffolding.h +++ b/beos/scaffolding.h @@ -200,5 +200,10 @@ void nsbeos_scaffolding_destroy(nsbeos_scaffolding *scaffold); void nsbeos_scaffolding_popup_menu(nsbeos_scaffolding *g, BPoint where); +void gui_window_set_title(struct gui_window *_g, const char *title); +void gui_window_set_url(struct gui_window *_g, const char *url); +void gui_window_start_throbber(struct gui_window* _g); +void gui_window_stop_throbber(struct gui_window* _g); + #endif /* NETSURF_BEOS_SCAFFOLDING_H */ -- cgit v1.2.3