mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T447, toggleStayOnTop for CGuiApplication
This commit is contained in:
@@ -354,19 +354,13 @@ void SwiftGuiStd::onChangedWindowOpacity(int opacity)
|
||||
|
||||
void SwiftGuiStd::toogleWindowStayOnTop()
|
||||
{
|
||||
CGuiUtility::toggleStayOnTop(this);
|
||||
if (sGui) { sGui->toggleStayOnTop(); }
|
||||
}
|
||||
|
||||
void SwiftGuiStd::toggleWindowVisibility()
|
||||
{
|
||||
if (this->isVisible())
|
||||
{
|
||||
this->hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
this->show();
|
||||
}
|
||||
if (this->isVisible()) { this->hide(); return; }
|
||||
this->show();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onStyleSheetsChanged()
|
||||
|
||||
Reference in New Issue
Block a user