1 /***************************************************************************
2 * Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com) *
3 * This file is part of kdenlive. See www.kdenlive.org. *
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 ***************************************************************************/
11 #ifndef RGBPARADEGENERATOR_H
12 #define RGBPARADEGENERATOR_H
19 class RGBParadeGenerator : public QObject
22 enum PaintMode { PaintMode_RGB, PaintMode_White };
25 QImage calculateRGBParade(const QSize ¶deSize, const QImage &image, const RGBParadeGenerator::PaintMode paintMode,
26 bool drawAxis, bool drawGradientRef, uint accelFactor = 1);
28 static const QColor colHighlight;
29 static const QColor colLight;
30 static const QColor colSoft;
32 static const uchar distRight;
33 static const uchar distBottom;
36 #endif // RGBPARADEGENERATOR_H