| 1648 | } |
| 1649 | |
| 1650 | void WinBFWindow::Resize(int x, int y, int width, int height, ShowKind showKind) |
| 1651 | { |
| 1652 | WINDOWPLACEMENT wndPlacement = { sizeof(WINDOWPLACEMENT), 0 }; |
| 1653 | ::GetWindowPlacement(mHWnd, &wndPlacement); |
| 1654 | |
| 1655 | wndPlacement.showCmd = ToWShow(showKind); |
| 1656 | wndPlacement.rcNormalPosition.left = x; |
| 1657 | wndPlacement.rcNormalPosition.top = y; |
| 1658 | wndPlacement.rcNormalPosition.right = x + width; |
| 1659 | wndPlacement.rcNormalPosition.bottom = y + height; |
| 1660 | ::SetWindowPlacement(mHWnd, &wndPlacement); |
| 1661 | |
| 1662 | //::MoveWindow(mHWnd, x, y, width, height, FALSE); |
| 1663 | mRenderWindow->Resized(); |
| 1664 | if (mMovedFunc != NULL) |
| 1665 | mMovedFunc(this); |
| 1666 | } |
| 1667 | |
| 1668 | void WinBFApp::PhysSetCursor() |
| 1669 | { |
no test coverage detected