adding proper window close functionality
This commit is contained in:
@@ -40,7 +40,9 @@ void Window::setFocused(PView view) {
|
||||
gfxHandle->setMouseButtonCallback(mouseButtonFunction);
|
||||
gfxHandle->setScrollCallback(scrollFunction);
|
||||
gfxHandle->setFileCallback(fileFunction);
|
||||
gfxHandle->setCloseCallback([this]() { owner->notifyWindowClosed(this); });
|
||||
gfxHandle->setCloseCallback([this]() {
|
||||
owner->notifyWindowClosed(this);
|
||||
});
|
||||
}
|
||||
|
||||
void Window::onResize(uint32 width, uint32 height) {
|
||||
|
||||
Reference in New Issue
Block a user