X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcolorscopes%2Fabstractgfxscopewidget.h;h=0dc59eb255d2e23e3393559aa51887c811acff3c;hb=ac5f5c9f6d4bdffeb76f3f2098b80f27bc532606;hp=49c48d67ac1d8699492a745dd51c5fce2b1f5feb;hpb=13caa29beb9cd02136e4616300d7da72363354ff;p=kdenlive diff --git a/src/colorscopes/abstractgfxscopewidget.h b/src/colorscopes/abstractgfxscopewidget.h index 49c48d67..0dc59eb2 100644 --- a/src/colorscopes/abstractgfxscopewidget.h +++ b/src/colorscopes/abstractgfxscopewidget.h @@ -11,31 +11,29 @@ #ifndef ABSTRACTGFXSCOPEWIDGET_H #define ABSTRACTGFXSCOPEWIDGET_H - #include #include #include "abstractscopewidget.h" +#include "renderer.h" class QMenu; -class Monitor; -class Render; +class MonitorManager; class AbstractGfxScopeWidget : public AbstractScopeWidget { Q_OBJECT public: - AbstractGfxScopeWidget(Monitor *projMonitor, Monitor *clipMonitor, bool trackMouse = false, QWidget *parent = 0); + AbstractGfxScopeWidget(MonitorManager *manager, bool trackMouse = false, QWidget *parent = 0); virtual ~AbstractGfxScopeWidget(); // Must be virtual because of inheritance, to avoid memory leaks protected: ///// Variables ///// - Monitor *m_projMonitor; - Monitor *m_clipMonitor; - Render *m_activeRender; + MonitorManager *m_manager; + AbstractRender *m_activeRender; /** @brief Scope renderer. Must emit signalScopeRenderingFinished() when calculation has finished, to allow multi-threading. @@ -53,7 +51,7 @@ public slots: /** @brief Must be called when the active monitor has shown a new frame. This slot must be connected in the implementing class, it is *not* done in this abstract class. */ - void slotActiveMonitorChanged(bool isClipMonitor); + void slotActiveMonitorChanged(); protected slots: virtual void slotAutoRefreshToggled(bool autoRefresh);