diff -r 98645c8e7704 -r cd6704009eb9 src/document.h --- a/src/document.h Thu Feb 06 20:33:05 2020 +0200 +++ b/src/document.h Thu Feb 06 23:41:20 2020 +0200 @@ -19,7 +19,7 @@ #pragma once #include #include -#include "gl/partrenderer.h" +#include "ui/canvas.h" namespace Ui { @@ -37,16 +37,17 @@ DocumentManager* documents, const ldraw::ColorTable& colorTable, QWidget *parent = nullptr); - ~Document(); + ~Document() override; QByteArray saveSplitterState() const; void restoreSplitterState(const QByteArray& state); void setRenderPreferences(const gl::RenderPreferences& newPreferences); signals: + void newStatusText(const QString& newStatusText); void splitterChanged(); private: Model* model; DocumentManager* const documents; const ldraw::ColorTable& colorTable; - PartRenderer* renderer; + Canvas* renderer; Ui::Document& ui; };