diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-12 23:50:54 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-01-12 23:50:54 +0000 |
commit | 5a962586fb161651fc612ed8a8f6da99d8d22f65 (patch) | |
tree | c31bb23578c4b60ec575952cd51e6bdbac6a28dc /amiga/gui.c | |
parent | 4b49b4ac775a1e3ca0c59f390f3f2427e31bce2b (diff) | |
download | netsurf-5a962586fb161651fc612ed8a8f6da99d8d22f65.tar.gz netsurf-5a962586fb161651fc612ed8a8f6da99d8d22f65.tar.bz2 |
move mandantory window update and redraw operations into table
Diffstat (limited to 'amiga/gui.c')
-rw-r--r-- | amiga/gui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 8c2f43e73..9ed3559f2 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -4184,7 +4184,7 @@ static void ami_do_redraw_limits(struct gui_window *g, struct browser_window *bw return; } -void gui_window_redraw_window(struct gui_window *g) +static void gui_window_redraw_window(struct gui_window *g) { ULONG cur_tab = 0; @@ -4262,7 +4262,7 @@ struct nsObject *nnode; return true; } -void gui_window_update_box(struct gui_window *g, const struct rect *rect) +static void gui_window_update_box(struct gui_window *g, const struct rect *rect) { struct nsObject *nsobj; struct rect *deferred_rect; @@ -5085,6 +5085,8 @@ void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl, static struct gui_window_table ami_window_table = { .create = gui_window_create, .destroy = gui_window_destroy, + .redraw = gui_window_redraw_window, + .update = gui_window_update_box, .set_icon = gui_window_set_icon, .set_title = gui_window_set_title, |