X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcolortools.h;fp=src%2Fcolortools.h;h=f1e29bd6880b838d18e0a28aca98b42ee7c3029b;hb=a0782da90d2e491e2f1ec9ad8a114883fb2e02b4;hp=af79f7fc656308a1571bb53f780cc6acc4d4f4f9;hpb=a126b5374774324d02e2fa460fb74e9b1b36b63a;p=kdenlive diff --git a/src/colortools.h b/src/colortools.h index af79f7fc..f1e29bd6 100644 --- a/src/colortools.h +++ b/src/colortools.h @@ -64,11 +64,18 @@ public: /** @brief Draws a HSV plane with Hue on the x axis and hue difference on the y axis. This is for the Bézier Curves widget which allows to change the hue (y) of a certain hue. + MIN/MAX give the minimum/maximum hue difference, e.g. -128,+128. For the value ranges see: http://doc.qt.nokia.com/latest/qcolor.html#the-hsv-color-model */ static QImage hsvHueShiftPlane(const QSize &size, const uint &S, const uint &V, const int &MIN, const int &MAX); + /** + Basic HSV saturation plane. + MIN/MAX give the minimum/maximum saturation, usually 0..255. + */ + static QImage hsvSaturationPlane(const QSize &size, const uint &V, const int &MIN, const int &MAX); + signals: void signalYuvWheelCalculationFinished(); };