Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinevideowidget.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinevideowidget.h b/noncore/multimedia/opieplayer2/xinevideowidget.h index 46bb98b..b670fa0 100644 --- a/noncore/multimedia/opieplayer2/xinevideowidget.h +++ b/noncore/multimedia/opieplayer2/xinevideowidget.h | |||
@@ -42,9 +42,22 @@ public: | |||
42 | XineVideoWidget( int width, int height, QWidget* parent, const char* name ); | 42 | XineVideoWidget( int width, int height, QWidget* parent, const char* name ); |
43 | ~XineVideoWidget(); | 43 | ~XineVideoWidget(); |
44 | QImage *image() { return m_image; }; | 44 | QImage *image() { return m_image; }; |
45 | void setImage( QImage* image ); | ||
46 | void setImage( uchar* image, int yoffsetXLine, int xoffsetXBytes, | ||
47 | int width, int height, int linestep, int bytes, int bpp); | ||
48 | int width() const; | ||
49 | int height() const; | ||
50 | void clear() ; | ||
45 | protected: | 51 | protected: |
46 | void paintEvent( QPaintEvent* p ); | 52 | void paintEvent( QPaintEvent* p ); |
47 | private: | 53 | private: |
54 | int m_wid; | ||
55 | int m_height; | ||
56 | int m_yOff, m_xOff; | ||
57 | uchar* m_buff; | ||
58 | int m_Width, m_Height, linestep; | ||
59 | int m_bytes; | ||
60 | int m_bytes_per_pixel; | ||
48 | QImage* m_image; | 61 | QImage* m_image; |
49 | 62 | ||
50 | }; | 63 | }; |