diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-13 11:38:35 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-13 11:38:35 +0000 |
commit | d70e371cd99d35859b0514884163447fa793738a (patch) | |
tree | 0c255ba4ecee52becc72086f48fceea4eb35e90e /framebuffer/gui.c | |
parent | 7227c29bbacbc796e9f549cf21e8bd978fde5114 (diff) | |
download | netsurf-d70e371cd99d35859b0514884163447fa793738a.tar.gz netsurf-d70e371cd99d35859b0514884163447fa793738a.tar.bz2 |
move two more mandantory window operations to table
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r-- | framebuffer/gui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 13d0421d1..cbf9fb9c5 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -1575,7 +1575,7 @@ gui_window_set_scroll(struct gui_window *gw, int sx, int sy) } -void +static void gui_window_get_dimensions(struct gui_window *g, int *width, int *height, @@ -1590,7 +1590,7 @@ gui_window_get_dimensions(struct gui_window *g, } } -void +static void gui_window_update_extent(struct gui_window *gw) { float scale = gw->bw->scale; @@ -1848,6 +1848,8 @@ static struct gui_window_table framebuffer_gui_window_table = { .update = gui_window_update_box, .get_scroll = gui_window_get_scroll, .set_scroll = gui_window_set_scroll, + .get_dimensions = gui_window_get_dimensions, + .update_extent = gui_window_update_extent, .set_url = gui_window_set_url, .start_throbber = gui_window_start_throbber, |