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 --- beos/window.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'beos') diff --git a/beos/window.cpp b/beos/window.cpp index 5fd177bb7..cff33a35b 100644 --- a/beos/window.cpp +++ b/beos/window.cpp @@ -1087,7 +1087,7 @@ static void gui_window_set_scroll(struct gui_window *g, int sx, int sy) } -void gui_window_update_extent(struct gui_window *g) +static void gui_window_update_extent(struct gui_window *g) { //CALLED(); if (!g->bw->current_content) @@ -1347,7 +1347,7 @@ void gui_set_clipboard(const char *buffer, size_t length, } } -void gui_window_get_dimensions(struct gui_window *g, int *width, int *height, +static void gui_window_get_dimensions(struct gui_window *g, int *width, int *height, bool scaled) { if (g->view && g->view->LockLooper()) { @@ -1369,6 +1369,8 @@ static struct gui_window_table 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, .new_content = gui_window_new_content, -- cgit v1.2.3