| 164 | return (FALSE); |
| 165 | } |
| 166 | static int |
| 167 | gc_inside(GRECT *frame, GRECT *test) |
| 168 | { |
| 169 | if (frame && test && frame->g_x <= test->g_x && frame->g_y <= test->g_y |
| 170 | && frame->g_x + frame->g_w >= test->g_x + test->g_w |
| 171 | && frame->g_y + frame->g_h >= test->g_y + test->g_h) |
| 172 | return (TRUE); |
| 173 | return (FALSE); |
| 174 | } |
| 175 | static int |
| 176 | gc_touch(GRECT *frame, GRECT *test) |
| 177 | { |