1
0
Fork 0

Platform/PlatformWindow: adding getOwner()

This commit is contained in:
Henrik Hautakoski 2023-08-22 17:51:24 +02:00
parent 1288ef88b8
commit cadbbf9d8b
2 changed files with 7 additions and 0 deletions

View file

@ -29,6 +29,11 @@ PlatformWindow::~PlatformWindow()
// Nothing to do.
}
Window* PlatformWindow::getOwner()
{
return m_owner;
}
void PlatformWindow::onReshape(int width, int height)
{
// Forward to parent.

View file

@ -22,6 +22,8 @@ public :
virtual ~PlatformWindow();
Window* getOwner();
virtual bool create(WindowDescription description) = 0;
virtual void destroy() = 0;