| 58 | } |
| 59 | |
| 60 | void mouseInputMotion(int x, int y) |
| 61 | { |
| 62 | g_MouseInput.LastLocation.X = x; |
| 63 | g_MouseInput.LastLocation.Y = y; |
| 64 | |
| 65 | if (g_MouseInput.pCursorCallback != NULL) |
| 66 | g_MouseInput.pCursorCallback(g_MouseInput.LastLocation); |
| 67 | |
| 68 | if (g_MouseInput.nSelectionState == SELECTION_ACTIVE) |
| 69 | mouseInputCallSelection(); |
| 70 | } |
| 71 | |
| 72 | void mouseInputButton(int button, int state, int x, int y) |
| 73 | { |
no test coverage detected