Move functions not required in advanced-scene-switcher.hpp

Create header for platform specific functions.
Move some UI helper functions to utility.hpp.
This commit is contained in:
WarmUpTill
2021-05-24 14:28:12 +02:00
committed by WarmUpTill
parent a93cec2bb9
commit 5496c256c0
33 changed files with 700 additions and 676 deletions

View File

@@ -156,8 +156,11 @@ void AdvSceneSwitcher::SetStopped()
obs_module_text("AdvSceneSwitcher.generalTab.status.start"));
ui->pluginRunningText->setText(
obs_module_text("AdvSceneSwitcher.status.inactive"));
inactivePluse = PulseWidget(ui->pluginRunningText, QColor(Qt::red),
QColor(0, 0, 0, 0), "QLabel ");
if (!switcher->disableHints) {
inactivePluse = PulseWidget(ui->pluginRunningText,
QColor(Qt::red), QColor(0, 0, 0, 0),
"QLabel ");
}
currentStatusActive = false;
}