More resizing
This commit is contained in:
parent
9ade0e2d4b
commit
be94bf0185
11 changed files with 44 additions and 3 deletions
|
@ -15,6 +15,8 @@
|
|||
#include "Screen.h"
|
||||
#include "Image.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace mt
|
||||
{
|
||||
|
||||
|
@ -41,6 +43,11 @@ void Window::setSize(unsigned width, unsigned height)
|
|||
{
|
||||
DrawingSurface::setSize(width, height);
|
||||
mWidget->setBounds(width, height);
|
||||
|
||||
if (mPlatformWindow)
|
||||
{
|
||||
mPlatformWindow->onResize(width, height);
|
||||
}
|
||||
}
|
||||
|
||||
void Window::clearPlatformWindow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue