------------------------------------------------------------------------------
| 1398 | |
| 1399 | //------------------------------------------------------------------------------ |
| 1400 | void vtkWin32OpenGLRenderWindow::SetCursorPosition(int x, int y) |
| 1401 | { |
| 1402 | const int* size = this->GetSize(); |
| 1403 | |
| 1404 | POINT point; |
| 1405 | point.x = x; |
| 1406 | point.y = size[1] - y - 1; |
| 1407 | |
| 1408 | if (ClientToScreen(this->WindowId, &point)) |
| 1409 | { |
| 1410 | SetCursorPos(point.x, point.y); |
| 1411 | } |
| 1412 | } |
| 1413 | |
| 1414 | //------------------------------------------------------------------------------ |
| 1415 | void vtkWin32OpenGLRenderWindow::SetCurrentCursor(int shape) |
no test coverage detected