Initial popup window.
This commit is contained in:
parent
f16dd7c0d9
commit
70220fc6e9
22 changed files with 253 additions and 15 deletions
|
@ -30,6 +30,7 @@ Window::Window()
|
|||
mWidth = 800;
|
||||
mHeight = 600;
|
||||
mWidget->setBounds(mWidth, mHeight);
|
||||
mWidget->setWindow(this);
|
||||
}
|
||||
|
||||
Window::~Window()
|
||||
|
@ -81,6 +82,7 @@ void Window::setWidget(WidgetPtr widget)
|
|||
}
|
||||
mWidget = std::move(widget);
|
||||
mWidget->setBounds(mWidth, mHeight);
|
||||
mWidget->setWindow(this);
|
||||
}
|
||||
|
||||
IPlatformWindow* Window::getPlatformWindow() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue