UI: Add OBSQTDisplay::OnMove()/OnDisplayChange()

This plumbing will be useful when handling color space changes.

Currently does nothing, and only Windows is wired for now.
This commit is contained in:
jpark37
2022-02-26 01:09:07 -08:00
committed by Jim
parent 5d1261eddb
commit 61ffb5c4d8
10 changed files with 202 additions and 9 deletions
+7
View File
@@ -947,6 +947,13 @@ public:
protected:
virtual void closeEvent(QCloseEvent *event) override;
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
virtual bool nativeEvent(const QByteArray &eventType, void *message,
qintptr *result) override;
#else
virtual bool nativeEvent(const QByteArray &eventType, void *message,
long *result) override;
#endif
virtual void changeEvent(QEvent *event) override;
private slots: