Platform/PlatformWindow: adding getOwner()
This commit is contained in:
parent
1288ef88b8
commit
cadbbf9d8b
2 changed files with 7 additions and 0 deletions
|
|
@ -29,6 +29,11 @@ PlatformWindow::~PlatformWindow()
|
||||||
// Nothing to do.
|
// Nothing to do.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Window* PlatformWindow::getOwner()
|
||||||
|
{
|
||||||
|
return m_owner;
|
||||||
|
}
|
||||||
|
|
||||||
void PlatformWindow::onReshape(int width, int height)
|
void PlatformWindow::onReshape(int width, int height)
|
||||||
{
|
{
|
||||||
// Forward to parent.
|
// Forward to parent.
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@ public :
|
||||||
|
|
||||||
virtual ~PlatformWindow();
|
virtual ~PlatformWindow();
|
||||||
|
|
||||||
|
Window* getOwner();
|
||||||
|
|
||||||
virtual bool create(WindowDescription description) = 0;
|
virtual bool create(WindowDescription description) = 0;
|
||||||
|
|
||||||
virtual void destroy() = 0;
|
virtual void destroy() = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue