From d70e371cd99d35859b0514884163447fa793738a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Jan 2014 11:38:35 +0000 Subject: move two more mandantory window operations to table --- framebuffer/gui.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'framebuffer') 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, -- cgit v1.2.3