mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
This will be more consistent with the widget styles used throughout OBS and solves a few layout issues
46 lines
782 B
C++
46 lines
782 B
C++
#include "ui-helpers.hpp"
|
|
|
|
class QObejct;
|
|
|
|
namespace advss {
|
|
|
|
QObject *HighlightWidget(QWidget *widget, QColor startColor, QColor endColor,
|
|
bool once)
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
void SetHeightToContentHeight(QListWidget *list) {}
|
|
|
|
void SetButtonIcon(QAbstractButton *button, const char *path) {}
|
|
|
|
int FindIdxInRagne(QComboBox *list, int start, int stop,
|
|
const std::string &value, Qt::MatchFlags flags)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
bool DisplayMessage(const QString &msg, bool question, bool modal)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void DisplayTrayMessage(const QString &title, const QString &msg,
|
|
const QIcon &icon)
|
|
{
|
|
}
|
|
|
|
std::string GetThemeTypeName()
|
|
{
|
|
return "Dark";
|
|
}
|
|
|
|
void QeueUITask(void (*task)(void *param), void *) {}
|
|
|
|
QWidget *GetSettingsWindow()
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
} // namespace advss
|