2011-02-11 22:35:16 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2011 Michael Drake <tlsa@netsurf-browser.org>
|
|
|
|
*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** \file
|
2011-02-19 23:05:16 +03:00
|
|
|
* Core shapes.
|
2011-02-11 22:35:16 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NETSURF_DESKTOP_SHAPE_H_
|
|
|
|
#define _NETSURF_DESKTOP_SHAPE_H_
|
|
|
|
|
|
|
|
/* Rectangle coordinates */
|
|
|
|
struct rect {
|
2011-02-19 23:05:16 +03:00
|
|
|
int x0, y0; /* Top left */
|
|
|
|
int x1, y1; /* Bottom right */
|
2011-02-11 22:35:16 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|