From 614de7d473b10710cb96d17e76c23a8ec7236b91 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 12 Feb 2009 14:16:40 +0000 Subject: Fix window clipping and introduce concept of "root" framebuffer window to allow for navigation and status bars svn path=/trunk/netsurf/; revision=6456 --- framebuffer/fb_rootwindow.c | 55 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 framebuffer/fb_rootwindow.c (limited to 'framebuffer/fb_rootwindow.c') diff --git a/framebuffer/fb_rootwindow.c b/framebuffer/fb_rootwindow.c new file mode 100644 index 000000000..5a7465dd0 --- /dev/null +++ b/framebuffer/fb_rootwindow.c @@ -0,0 +1,55 @@ +/* + * Copyright 2008 Vincent Sanders + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +#ifdef WITH_HUBBUB +#include +#endif + +#include "desktop/gui.h" +#include "desktop/plotters.h" +#include "desktop/netsurf.h" +#include "desktop/options.h" +#include "utils/log.h" +#include "utils/messages.h" +#include "utils/utils.h" + +#include "framebuffer/fb_bitmap.h" +#include "framebuffer/fb_gui.h" +#include "framebuffer/fb_frontend.h" +#include "framebuffer/fb_plotters.h" +#include "framebuffer/fb_schedule.h" +#include "framebuffer/fb_cursor.h" +#include "framebuffer/fb_rootwindow.h" + +void fb_rootwindow_click(browser_mouse_state st , int x, int y) +{ + LOG(("Click in root window")); +} + +/* + * Local Variables: + * c-basic-offset:8 + * End: + */ -- cgit v1.2.3