| 49 | } |
| 50 | |
| 51 | void Window::Move(gfx::Vec2I pos) |
| 52 | { |
| 53 | pmlog_verb(v::core_window)(std::format("pos:[{},{}]", pos.x, pos.y)); |
| 54 | if (SetWindowPos(hWnd, nullptr, pos.x, pos.y, 0, 0, SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSIZE) == FALSE) |
| 55 | { |
| 56 | pmlog_warn(std::format("failed to move window {}", str::ToNarrow(GetTitle()))).hr(); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | void Window::Reorder(HWND base) |
| 61 | { |
no test coverage detected