Added Window::GetStyle()

Useful with external windows


Former-commit-id: 62974c8cdfb6919bc1e85507cc8adc8101daba1a
This commit is contained in:
Lynix
2013-05-01 01:36:13 +02:00
parent 961c658ae1
commit 7908839785
4 changed files with 87 additions and 27 deletions

View File

@@ -276,6 +276,19 @@ NzVector2ui NzWindow::GetSize() const
return m_impl->GetSize();
}
nzUInt32 NzWindow::GetStyle() const
{
#if NAZARA_UTILITY_SAFE
if (!m_impl)
{
NazaraError("Window not created");
return 0;
}
#endif
return m_impl->GetStyle();
}
NzString NzWindow::GetTitle() const
{
#if NAZARA_UTILITY_SAFE