]> git.sesse.net Git - kdenlive/blobdiff - src/colorplaneexport.h
Const'ref
[kdenlive] / src / colorplaneexport.h
index 48225586a2cca8b39e43e0013ab8ba582b3a7c13..024e4c9ab904639b1360471fda461b5bd200c518 100644 (file)
 
 class ColorPlaneExport_UI;
 
-enum COLOR_EXPORT_MODE { CPE_YUV, CPE_YUV_Y, CPE_YUV_MOD, CPE_RGB_CURVE };
-
 class ColorPlaneExport : public QDialog, public Ui::ColorPlaneExport_UI {
     Q_OBJECT
 public:
     ColorPlaneExport(QWidget *parent = 0);
     ~ColorPlaneExport();
 
-protected:
+    enum COLOR_EXPORT_MODE { CPE_YUV, CPE_YUV_Y, CPE_YUV_MOD, CPE_RGB_CURVE, CPE_YPbPr, CPE_HSV_HUESHIFT, CPE_HSV_SATURATION };
 
 private:
     ColorTools *m_colorTools;
     float m_scaling;
     float m_Y;
-    void enableSliderScaling(const bool &enable);
-    void enableSliderColor(const bool &enable);
-    void enableCbVariant(const bool &enable);
-
+    void enableSliderScaling(bool enable);
+    void enableSliderColor(bool enable);
+    void enableCbVariant(bool enable);
 
 private slots:
     void slotValidate();