================= Rect_ContainsPoint ================= */
| 8719 | ================= |
| 8720 | */ |
| 8721 | static qboolean Rect_ContainsPoint(rectDef_t *rect, float x, float y) |
| 8722 | { |
| 8723 | //JLF ignore mouse pointer location |
| 8724 | // return true; |
| 8725 | // END JLF |
| 8726 | if (rect) |
| 8727 | { |
| 8728 | // if ((x > rect->x) && (x < (rect->x + rect->w)) && (y > rect->y) && (y < (rect->y + rect->h))) |
| 8729 | if ((x > rect->x) && (x < (rect->x + rect->w))) |
| 8730 | { |
| 8731 | if ((y > rect->y) && (y < (rect->y + rect->h))) |
| 8732 | { |
| 8733 | return qtrue; |
| 8734 | } |
| 8735 | } |
| 8736 | } |
| 8737 | return qfalse; |
| 8738 | } |
| 8739 | |
| 8740 | qboolean Item_TextScroll_HandleKey ( itemDef_t *item, int key, qboolean down, qboolean force) |
| 8741 | { |
no outgoing calls
no test coverage detected