summaryrefslogtreecommitdiffstats
path: root/editorlib/src/editorviewportitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'editorlib/src/editorviewportitem.h')
-rw-r--r--editorlib/src/editorviewportitem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editorlib/src/editorviewportitem.h b/editorlib/src/editorviewportitem.h
index 43c7c88..7c31f93 100644
--- a/editorlib/src/editorviewportitem.h
+++ b/editorlib/src/editorviewportitem.h
@@ -33,6 +33,8 @@
class EditorScene;
class EditorCameraController;
+class QOffscreenSurface;
+
namespace Qt3DCore
{
class QAspectEngine;
@@ -66,6 +68,7 @@ public:
bool inputEnabled() const;
void setInputEnabled(bool enable);
+ void handleWindowChanged(QQuickWindow *win);
public slots:
void setScene(EditorScene* scene);
@@ -97,6 +100,7 @@ private:
EditorCameraController *m_cameraController;
bool m_inputEnabled;
+ QOffscreenSurface *m_surface;
};
#endif // EDITORVIEWPORTITEM_H