summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/videooutput.h
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-09-17 11:47:07 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-23 12:39:22 (GMT)
commit8a6da961602d9e372a9ccf88332889b4dffda825 (patch)
tree01410d19434b5f86d28707f05e62d94ee80f8265 /src/3rdparty/phonon/mmf/videooutput.h
parent031260adc1093e95c1c4d95d1d322b5b47ac1891 (diff)
downloadQt-8a6da961602d9e372a9ccf88332889b4dffda825.zip
Qt-8a6da961602d9e372a9ccf88332889b4dffda825.tar.gz
Qt-8a6da961602d9e372a9ccf88332889b4dffda825.tar.bz2
Added function for writing transparent pixels directly to the backing store
See VideoOutput::transparentFill. This should be called from the paintEvent, having removed the TranslucentWindowBackground hack from the mediaplayer demo. As yet this has not been tested.
Diffstat (limited to 'src/3rdparty/phonon/mmf/videooutput.h')
-rw-r--r--src/3rdparty/phonon/mmf/videooutput.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/videooutput.h b/src/3rdparty/phonon/mmf/videooutput.h
index 566d065..298b4fe 100644
--- a/src/3rdparty/phonon/mmf/videooutput.h
+++ b/src/3rdparty/phonon/mmf/videooutput.h
@@ -20,6 +20,8 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
#define PHONON_MMF_VIDEOOUTPUT_H
#include <QtGui/QWidget>
+#include <QVector>
+#include <QRect>
#include "defs.h"
QT_BEGIN_NAMESPACE
@@ -52,6 +54,7 @@ protected:
private:
void dump() const;
+ void transparentFill(const QVector<QRect>& rects);
private:
QSize m_frameSize;