From 27b6096dcd8a38fa0200cec6dfe25f05529efa7c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 11 Feb 2011 19:35:16 +0000 Subject: Move stuct rect out of box.h and tree.c. svn path=/trunk/netsurf/; revision=11647 --- desktop/shape.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 desktop/shape.h (limited to 'desktop/shape.h') diff --git a/desktop/shape.h b/desktop/shape.h new file mode 100644 index 000000000..c322602b9 --- /dev/null +++ b/desktop/shape.h @@ -0,0 +1,32 @@ +/* + * Copyright 2011 Michael Drake + * + * 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 . + */ + +/** \file + * Core mouse state. + */ + +#ifndef _NETSURF_DESKTOP_SHAPE_H_ +#define _NETSURF_DESKTOP_SHAPE_H_ + +/* Rectangle coordinates */ +struct rect { + int x0, y0; + int x1, y1; +}; + +#endif -- cgit v1.2.3