/**\brief Tests if point is within a rectangle. */ bool Widget::Contains(int relx, int rely) { return WITHIN_BOUNDS(relx,rely,this->x,this->y,this->w,this->h); }
/**\brief Tests if point is within a rectangle. */ bool Widget::Contains(int relx, int rely) { return WITHIN_BOUNDS(relx, rely, x, y, w, h); }