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 ***************************************************************************/
14 #include "abstractgfxscopewidget.h"
15 #include "ui_rgbparade_ui.h"
19 class RGBParadeGenerator;
22 * \brief Displays the RGB waveform of a frame.
23 * This is the same as the Waveform, but for each colour channel separately.
25 class RGBParade : public AbstractGfxScopeWidget
28 explicit RGBParade(QWidget *parent = 0);
30 QString widgetName() const;
33 virtual void readConfig();
39 RGBParadeGenerator *m_rgbParadeGenerator;
44 bool isHUDDependingOnInput() const;
45 bool isScopeDependingOnInput() const;
46 bool isBackgroundDependingOnInput() const;
48 QImage renderHUD(uint accelerationFactor);
49 QImage renderGfxScope(uint accelerationFactor, const QImage &);
50 QImage renderBackground(uint accelerationFactor);