| 530 | } |
| 531 | |
| 532 | Point2I GuiCanvas::getCursorPos() |
| 533 | { |
| 534 | Point2I p( 0, 0 ); |
| 535 | |
| 536 | if( mPlatformWindow ) |
| 537 | mPlatformWindow->getCursorPosition( p ); |
| 538 | |
| 539 | return p; |
| 540 | } |
| 541 | |
| 542 | void GuiCanvas::setCursorPos(const Point2I &pt) |
| 543 | { |
no test coverage detected