From 5be6bd452d95405e6599f330fa30b0b771b81344 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 4 Sep 2011 18:20:24 +0000 Subject: Remove gui_window_position_frame() definition from core and remove all implementations from front ends. svn path=/trunk/netsurf/; revision=12711 --- atari/gui.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'atari') diff --git a/atari/gui.c b/atari/gui.c index 580721c73..3f5dd1957 100755 --- a/atari/gui.c +++ b/atari/gui.c @@ -375,19 +375,6 @@ void gui_window_scroll_visible(struct gui_window *w, int x0, int y0, int x1, int browser_schedule_redraw_rect( w, 0, 0, x1-x0,y1-y0); } -void gui_window_position_frame(struct gui_window *gw, int x0, int y0, int x1, int y1) -{ - TODO(); - struct browser_window * bw = gw->browser->bw; - LGRECT pardim; - int width = x1 - x0 + 2, height = y1 - y0 + 2; - /* get available width/height: */ - if( gw ) { - browser_get_rect( gw, BR_CONTENT, &pardim ); - LOG(("posframe %s: x0,y0: %d/%d, x1,y1: %d/%d, w: %d, h: %d \n",gw->browser->bw->name, x0,y0, x1,y1, width, height)); - } -} - /* It seems this method is called when content size got adjusted, so that we can adjust scroll info. We also have to call it when tab -- cgit v1.2.3