summaryrefslogtreecommitdiff
path: root/framebuffer/fb_rootwindow.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-02-12 14:16:40 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-02-12 14:16:40 +0000
commit614de7d473b10710cb96d17e76c23a8ec7236b91 (patch)
tree940d69395a0edd49f33158a88f68743933b0d68c /framebuffer/fb_rootwindow.c
parent06ec51993ddf4e66feaf18464cbe8daaf8624e26 (diff)
downloadnetsurf-614de7d473b10710cb96d17e76c23a8ec7236b91.tar.gz
netsurf-614de7d473b10710cb96d17e76c23a8ec7236b91.tar.bz2
Fix window clipping and introduce concept of "root" framebuffer window to allow for navigation and status bars
svn path=/trunk/netsurf/; revision=6456
Diffstat (limited to 'framebuffer/fb_rootwindow.c')
-rw-r--r--framebuffer/fb_rootwindow.c55
1 files changed, 55 insertions, 0 deletions
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 <vince@simtec.co.uk>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <sys/ioctl.h>
+#include <limits.h>
+#include <unistd.h>
+
+#ifdef WITH_HUBBUB
+#include <hubbub/hubbub.h>
+#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:
+ */