]> git.sesse.net Git - kdenlive/blob - src/colorcorrection/rgbparadegenerator.h
RGB Parade added.
[kdenlive] / src / colorcorrection / rgbparadegenerator.h
1 /***************************************************************************
2  *   Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com)      *
3  *   This file is part of kdenlive. See www.kdenlive.org.                  *
4  *                                                                         *
5  *   This program is free software; you can redistribute it and/or modify  *
6  *   it under the terms of the GNU General Public License as published by  *
7  *   the Free Software Foundation; either version 2 of the License, or     *
8  *   (at your option) any later version.                                   *
9  ***************************************************************************/
10
11 #ifndef RGBPARADEGENERATOR_H
12 #define RGBPARADEGENERATOR_H
13
14 #include <QObject>
15
16 class QColor;
17 class QImage;
18 class QSize;
19 class RGBParadeGenerator : public QObject
20 {
21 public:
22     RGBParadeGenerator();
23     QImage calculateRGBParade(const QSize &paradeSize, const QImage &image, const bool &drawAxis, const uint &accelFactor = 1);
24
25     static const QColor colHighlight;
26     static const QColor colLight;
27     static const QColor colSoft;
28 };
29
30 #endif // RGBPARADEGENERATOR_H