Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinevideowidget.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/xinevideowidget.h b/noncore/multimedia/opieplayer2/xinevideowidget.h index c5101da..33f1470 100644 --- a/noncore/multimedia/opieplayer2/xinevideowidget.h +++ b/noncore/multimedia/opieplayer2/xinevideowidget.h @@ -1,9 +1,8 @@ /* This file is part of the Opie Project - Copyright (c) 2002 Max Reiss <harlekin@handhelds.org> - Copyright (c) 2002 LJP <> + Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> Copyright (c) 2002 Holger Freyther <zecke@handhelds.org> =. .=l. .>+-= @@ -37,23 +36,25 @@ #include "lib.h" class QImage; + + class XineVideoWidget : public QWidget { Q_OBJECT + public: XineVideoWidget( QWidget* parent, const char* name ); ~XineVideoWidget(); - QImage *image() { return m_image; }; - void setImage( QImage* image ); - void setImage( uchar* image, int width, int height, int linestep); + QImage *logo ( ) const; + void setLogo ( QImage *image ); + void setVideoFrame ( uchar *image, int width, int height, int linestep ); void clear() ; protected: void paintEvent( QPaintEvent* p ); void resizeEvent ( QResizeEvent *r ); - void mousePressEvent ( QMouseEvent *e ); void mouseReleaseEvent ( QMouseEvent *e ); signals: void clicked(); @@ -66,8 +67,8 @@ private: uchar* m_buff; int m_bytes_per_line_fb; int m_bytes_per_line_frame; int m_bytes_per_pixel; - QImage* m_image; + QImage *m_logo; int m_rotation; }; |