mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #347, CMainWindow for frameless main windows
This commit is contained in:
committed by
Roland Winklmeier
parent
facbefeeea
commit
42a4e0b48b
@@ -33,12 +33,12 @@ CIntroWindow::~CIntroWindow() { }
|
||||
/*
|
||||
* Window mode
|
||||
*/
|
||||
GuiModes::WindowMode CIntroWindow::getWindowMode() const
|
||||
BlackGui::CEnableForFramelessWindow::WindowMode CIntroWindow::getWindowMode() const
|
||||
{
|
||||
if (this->ui->rb_WindowFrameless->isChecked())
|
||||
return GuiModes::WindowFrameless;
|
||||
return BlackGui::CEnableForFramelessWindow::WindowFrameless;
|
||||
else
|
||||
return GuiModes::WindowNormal;
|
||||
return BlackGui::CEnableForFramelessWindow::WindowNormal;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user