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 ***************************************************************************/
15 #include "abstractgfxscopewidget.h"
16 #include "ui_rgbparade_ui.h"
20 class RGBParadeGenerator;
23 * \brief Displays the RGB waveform of a frame.
24 * This is the same as the Waveform, but for each colour channel separately.
26 class RGBParade : public AbstractGfxScopeWidget
29 explicit RGBParade(QWidget *parent = 0);
31 QString widgetName() const;
34 virtual void readConfig();
40 RGBParadeGenerator *m_rgbParadeGenerator;
45 bool isHUDDependingOnInput() const;
46 bool isScopeDependingOnInput() const;
47 bool isBackgroundDependingOnInput() const;
49 QImage renderHUD(uint accelerationFactor);
50 QImage renderGfxScope(uint accelerationFactor, const QImage &);
51 QImage renderBackground(uint accelerationFactor);