From 552aab42e16689c24ac566913b02c7613bfc090b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 2 Aug 2019 12:25:35 +0100 Subject: remove scaled parameter from get_dimensions --- frontends/beos/window.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'frontends/beos') diff --git a/frontends/beos/window.cpp b/frontends/beos/window.cpp index 49d049c28..6c12e4e8e 100644 --- a/frontends/beos/window.cpp +++ b/frontends/beos/window.cpp @@ -1341,24 +1341,17 @@ struct gui_clipboard_table *beos_clipboard_table = &clipboard_table; * \param g The gui window to measure content area of. * \param width receives width of window * \param height receives height of window - * \param scaled whether to return scaled values * \return NSERROR_OK on sucess and width and height updated * else error code. */ static nserror -gui_window_get_dimensions(struct gui_window *g, int *width, int *height, - bool scaled) +gui_window_get_dimensions(struct gui_window *g, int *width, int *height) { if (g->view && g->view->LockLooper()) { *width = g->view->Bounds().Width() + 1; *height = g->view->Bounds().Height() + 1; g->view->UnlockLooper(); - - if (scaled) { - *width /= g->scale; - *height /= g->scale; - } } return NSERROR_OK; } -- cgit v1.2.3