| 149 | } |
| 150 | |
| 151 | void GetMouseState(int* x, int* y) |
| 152 | { |
| 153 | #if !defined(_MSC_VER) |
| 154 | nullcThrowError("GetMouseState: supported only under Windows"); |
| 155 | #else |
| 156 | POINT pos; |
| 157 | GetCursorPos(&pos); |
| 158 | *x = pos.x; |
| 159 | *y = pos.y; |
| 160 | #endif |
| 161 | } |
| 162 | |
| 163 | bool IsPressed(int key) |
| 164 | { |
nothing calls this directly
no test coverage detected