diff options
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.h')
-rw-r--r-- | examples/opengl/hellowindow/hellowindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h index 6a6fa275e2..cba4b34db6 100644 --- a/examples/opengl/hellowindow/hellowindow.h +++ b/examples/opengl/hellowindow/hellowindow.h @@ -90,12 +90,14 @@ private: int m_currentWindow; QMutex m_windowLock; + + QColor m_backgroundColor; }; class HelloWindow : public QWindow { public: - explicit HelloWindow(const QSharedPointer<Renderer> &renderer); + explicit HelloWindow(const QSharedPointer<Renderer> &renderer, QScreen *screen = 0); QColor color() const; void updateColor(); |