forked from enlightenment/enlightenment
parent
d01701d816
commit
97a7e3affb
|
@ -172,7 +172,7 @@ typedef struct _E_Rect E_Rect;
|
|||
#ifndef MAX
|
||||
# define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
||||
#endif
|
||||
# define E_FN_DEL(_fn, _h) if (_h) { _fn(_h); _h = NULL; }
|
||||
# define E_FN_DEL(_fn, _h) if (_h) { _fn((void*)_h); _h = NULL; }
|
||||
# define E_INTERSECTS(x, y, w, h, xx, yy, ww, hh) \
|
||||
(((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
|
||||
# define E_INSIDE(x, y, xx, yy, ww, hh) \
|
||||
|
|
Loading…
Reference in New Issue