1 #ifndef RGB_HISTOGRAM_H
2 #define RGB_HISTOGRAM_H
10 #include "vu_common.h"
16 class RGBHistogram : public QWidget
21 RGBHistogram(QWidget *parent);
22 void set_histograms(std::vector<double> red, std::vector<double> green, std::vector<double> blue);
25 void paintEvent(QPaintEvent *event) override;
26 void draw(const std::vector<double> &v, double max, Qt::GlobalColor color, QPainter *painter);
28 std::vector<double> red, green, blue;