1
0
Fork 0

Platform/Win32/Win32Display: Implement setDecoration()

This commit is contained in:
Henrik Hautakoski 2020-12-05 17:25:15 +01:00
parent 02567eb225
commit ebe3a648c5
2 changed files with 7 additions and 0 deletions

View file

@ -123,6 +123,11 @@ void Win32Display::setVisible(bool visible)
::ShowWindow(m_handle, visible ? SW_SHOW : SW_HIDE);
}
void Win32Display::setDecoration(unsigned decoration)
{
::SetWindowLong(m_handle, GWL_STYLE, getWin32Flags(decoration));
}
void Win32Display::minimize()
{
::ShowWindow(m_handle, SW_MINIMIZE);