]> git.sesse.net Git - kdenlive/blobdiff - src/vectorscope.h
Made AbstractAudioScope and AbstractGfxScope inherit from AbstractScope; Done for...
[kdenlive] / src / vectorscope.h
index ed0a35d21d8b712350634c613b8051df6ecaa966..66c660194ca6a322f3481a7f2ee146a5e0452562 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <QtCore>
 #include "ui_vectorscope_ui.h"
-#include "abstractscopewidget.h"
+#include "abstractgfxscopewidget.h"
 
 class ColorPlaneExport;
 class ColorTools;
@@ -24,7 +24,7 @@ class VectorscopeGenerator;
 
 enum BACKGROUND_MODE { BG_NONE = 0, BG_YUV = 1, BG_CHROMA = 2, BG_YPbPr = 3 };
 
-class Vectorscope : public AbstractScopeWidget {
+class Vectorscope : public AbstractGfxScopeWidget {
     Q_OBJECT
 
 public:
@@ -59,6 +59,7 @@ private:
     QAction *m_aExportBackground;
     QAction *m_aAxisEnabled;
     QAction *m_a75PBox;
+    QAction *m_aIQLines;
 
     VectorscopeGenerator *m_vectorscopeGenerator;
 
@@ -69,6 +70,10 @@ private:
     float m_gain;
 
     QPoint m_centerPoint, pR75, pG75, pB75, pCy75, pMg75, pYl75;
+    QPoint qR75, qG75, qB75, qCy75, qMg75, qYl75;
+    /** Unlike the scopeRect, this rect represents the overall visible rectangle
+        and not only the square touching the Vectorscope's circle. */
+    QRect m_visibleRect;
 
     /** Updates the dimension. Only necessary when the widget has been resized. */
     void updateDimensions();