version 1.30, 2021/08/13 19:55:11 |
version 1.31, 2021/08/13 20:04:45 |
|
|
{ |
{ |
struct popup_data *pd = data; |
struct popup_data *pd = data; |
|
|
|
if (pd->md != NULL && menu_check_cb(c, pd->md, px, py) == 0) |
|
return (0); |
if (px < pd->px || px > pd->px + pd->sx - 1) |
if (px < pd->px || px > pd->px + pd->sx - 1) |
return (1); |
return (1); |
if (py < pd->py || py > pd->py + pd->sy - 1) |
if (py < pd->py || py > pd->py + pd->sy - 1) |
return (1); |
return (1); |
if (pd->md != NULL) |
|
return (menu_check_cb(c, pd->md, px, py)); |
|
return (0); |
return (0); |
} |
} |
|
|