Starting resize support.

This commit is contained in:
James Grogan 2022-11-14 14:57:50 +00:00
parent cea3d2c39f
commit 9ade0e2d4b
26 changed files with 197 additions and 44 deletions

View file

@ -37,6 +37,12 @@ std::unique_ptr<Window> Window::Create()
return std::make_unique<Window>();
}
void Window::setSize(unsigned width, unsigned height)
{
DrawingSurface::setSize(width, height);
mWidget->setBounds(width, height);
}
void Window::clearPlatformWindow()
{
mPlatformWindow.reset();