|
@@ -3,6 +3,8 @@
|
|
#include <QWidget>
|
|
#include <QWidget>
|
|
#include <obs.hpp>
|
|
#include <obs.hpp>
|
|
|
|
|
|
|
|
+#define GREY_COLOR_BACKGROUND 0xFF4C4C4C
|
|
|
|
+
|
|
class OBSQTDisplay : public QWidget {
|
|
class OBSQTDisplay : public QWidget {
|
|
Q_OBJECT
|
|
Q_OBJECT
|
|
Q_PROPERTY(QColor displayBackgroundColor MEMBER backgroundColor
|
|
Q_PROPERTY(QColor displayBackgroundColor MEMBER backgroundColor
|
|
@@ -27,7 +29,7 @@ public:
|
|
|
|
|
|
inline obs_display_t *GetDisplay() const {return display;}
|
|
inline obs_display_t *GetDisplay() const {return display;}
|
|
|
|
|
|
- uint32_t backgroundColor;
|
|
|
|
|
|
+ uint32_t backgroundColor = GREY_COLOR_BACKGROUND;
|
|
|
|
|
|
private slots:
|
|
private slots:
|
|
void SetDisplayBackgroundColor(const QColor &color);
|
|
void SetDisplayBackgroundColor(const QColor &color);
|