Platform/Win32/Win32Display: Implement setDecoration()
This commit is contained in:
parent
02567eb225
commit
ebe3a648c5
2 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ public :
|
|||
|
||||
virtual void setVisible(bool visible);
|
||||
|
||||
virtual void setDecoration(unsigned decoration);
|
||||
|
||||
virtual void minimize();
|
||||
|
||||
virtual void maximize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue