remove unused function

This commit is contained in:
Julien Danjou 2008-01-29 08:56:23 +01:00
parent 42d4686282
commit 31b5b709f6
1 changed files with 0 additions and 10 deletions

View File

@ -55,16 +55,6 @@ DO_SLIST(Area, area, p_delete);
#define AREA_RIGHT(a) ((a).x + (a).width) #define AREA_RIGHT(a) ((a).x + (a).width)
#define AREA_BOTTOM(a) ((a).y + (a).height) #define AREA_BOTTOM(a) ((a).y + (a).height)
/** Check if coordinates matches given area */
static inline Bool
area_match_coords(Area geometry, int x, int y)
{
return (x >= geometry.x
&& y >= geometry.y
&& x < geometry.x + geometry.width
&& y < geometry.y + geometry.height);
}
static inline Bool static inline Bool
area_intersect_area(Area a, Area b) area_intersect_area(Area a, Area b)
{ {