Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinevideowidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/xinevideowidget.h b/noncore/multimedia/opieplayer2/xinevideowidget.h index 33f1470..8b3a3ea 100644 --- a/noncore/multimedia/opieplayer2/xinevideowidget.h +++ b/noncore/multimedia/opieplayer2/xinevideowidget.h | |||
@@ -47,12 +47,14 @@ public: | |||
47 | ~XineVideoWidget ( ); | 47 | ~XineVideoWidget ( ); |
48 | QImage *logo ( ) const; | 48 | QImage *logo ( ) const; |
49 | void setLogo ( QImage *image ); | 49 | void setLogo ( QImage *image ); |
50 | void setVideoFrame ( uchar *image, int width, int height, int linestep ); | 50 | void setVideoFrame ( uchar *image, int width, int height, int linestep ); |
51 | void clear ( ); | 51 | void clear ( ); |
52 | 52 | ||
53 | QSize videoSize() const; | ||
54 | |||
53 | protected: | 55 | protected: |
54 | void paintEvent( QPaintEvent *p ); | 56 | void paintEvent( QPaintEvent *p ); |
55 | void resizeEvent ( QResizeEvent *r ); | 57 | void resizeEvent ( QResizeEvent *r ); |
56 | 58 | ||
57 | void mouseReleaseEvent ( QMouseEvent *e ); | 59 | void mouseReleaseEvent ( QMouseEvent *e ); |
58 | 60 | ||
@@ -66,9 +68,9 @@ private: | |||
66 | 68 | ||
67 | uchar *m_buff; | 69 | uchar *m_buff; |
68 | int m_bytes_per_line_fb; | 70 | int m_bytes_per_line_fb; |
69 | int m_bytes_per_line_frame; | 71 | int m_bytes_per_line_frame; |
70 | int m_bytes_per_pixel; | 72 | int m_bytes_per_pixel; |
71 | QImage *m_logo; | 73 | QImage *m_logo; |
72 | int m_rotation; | 74 | mutable int m_rotation; |
73 | }; | 75 | }; |
74 | 76 | ||