| 197 | } |
| 198 | |
| 199 | inline bool inRect(int x, int y, int w, int h, bool checkScroll = true) |
| 200 | { |
| 201 | return (!checkScroll || g_state.insideCurrentScroll) && g_state.mx >= x && g_state.mx <= x+w && g_state.my >= y && g_state.my <= y+h; |
| 202 | } |
| 203 | |
| 204 | inline void clearInput() |
| 205 | { |
no outgoing calls
no test coverage detected