diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-12 10:27:41 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-01-12 10:27:41 +0000 |
commit | 56bb9582b16dfd45bbd1665adaf87c6c5986aed3 (patch) | |
tree | c92b65226b16977ddd0649a9be38d3ebdf06b6c0 /riscos | |
parent | c8496df3df7d059528f2d5e735be5c55bfa75ef6 (diff) | |
download | netsurf-56bb9582b16dfd45bbd1665adaf87c6c5986aed3.tar.gz netsurf-56bb9582b16dfd45bbd1665adaf87c6c5986aed3.tar.bz2 |
move set title, set url, start and stop throbber window operations to gui table
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/gui.c | 6 | ||||
-rw-r--r-- | riscos/window.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 460036573..ee4c59105 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -840,8 +840,14 @@ static bool nslog_stream_configure(FILE *fptr) static struct gui_table riscos_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/riscos/window.h b/riscos/window.h index a59a9423c..8614ce0d2 100644 --- a/riscos/window.h +++ b/riscos/window.h @@ -29,9 +29,15 @@ void ro_gui_window_initialise(void); bool ro_gui_window_check_menu(wimp_menu *menu); +/* core acessors */ struct gui_window *gui_window_create(struct browser_window *bw, struct browser_window *clone, bool new_tab); void gui_window_destroy(struct gui_window *g); +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 |