X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcolorcorrection%2Frgbparadegenerator.h;h=80c9c4892d833a2832e3e860cb7df9d50d52446c;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=e37221037d05fdf309856e6811487a1830114acc;hpb=2ce698b921225589844447f223963614d4b74158;p=kdenlive diff --git a/src/colorcorrection/rgbparadegenerator.h b/src/colorcorrection/rgbparadegenerator.h index e3722103..80c9c489 100644 --- a/src/colorcorrection/rgbparadegenerator.h +++ b/src/colorcorrection/rgbparadegenerator.h @@ -19,12 +19,18 @@ class QSize; class RGBParadeGenerator : public QObject { public: + enum PaintMode { PaintMode_RGB, PaintMode_White }; + RGBParadeGenerator(); - QImage calculateRGBParade(const QSize ¶deSize, const QImage &image, const bool &drawAxis, const uint &accelFactor = 1); + QImage calculateRGBParade(const QSize ¶deSize, const QImage &image, const RGBParadeGenerator::PaintMode paintMode, + bool drawAxis, bool drawGradientRef, uint accelFactor = 1); static const QColor colHighlight; static const QColor colLight; static const QColor colSoft; + + static const uchar distRight; + static const uchar distBottom; }; #endif // RGBPARADEGENERATOR_H