X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fscopes%2Fcolorscopes%2Fvectorscope.h;h=bc5845065565d3cdd32cbbbdf43d691719bf76fe;hb=8a6e4eb1dea318ecd1c0b313c28b764e89a524c4;hp=de54440d5c5e5cde29d804aaf01446ab299afc98;hpb=430873d4180c1340061991885c93585322e5c29c;p=kdenlive diff --git a/src/scopes/colorscopes/vectorscope.h b/src/scopes/colorscopes/vectorscope.h index de54440d..bc584506 100644 --- a/src/scopes/colorscopes/vectorscope.h +++ b/src/scopes/colorscopes/vectorscope.h @@ -11,24 +11,27 @@ #ifndef VECTORSCOPE_H #define VECTORSCOPE_H -#include #include "ui_vectorscope_ui.h" #include "abstractgfxscopewidget.h" class ColorPlaneExport; class ColorTools; -class Render; -class Monitor; + class Vectorscope_UI; class VectorscopeGenerator; enum BACKGROUND_MODE { BG_NONE = 0, BG_YUV = 1, BG_CHROMA = 2, BG_YPbPr = 3 }; +/** + \brief Displays the vectorscope of a frame. + + \see VectorscopeGenerator for more details about the vectorscope. + */ class Vectorscope : public AbstractGfxScopeWidget { Q_OBJECT public: - Vectorscope(MonitorManager *manager, QWidget *parent = 0); + explicit Vectorscope(QWidget *parent = 0); ~Vectorscope(); QString widgetName() const; @@ -37,7 +40,7 @@ protected: ///// Implemented methods ///// QRect scopeRect(); QImage renderHUD(uint accelerationFactor); - QImage renderGfxScope(uint accelerationFactor, const QImage); + QImage renderGfxScope(uint accelerationFactor, const QImage &); QImage renderBackground(uint accelerationFactor); bool isHUDDependingOnInput() const; bool isScopeDependingOnInput() const;