author | alwin <alwin> | 2005-04-10 11:03:22 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-04-10 11:03:22 (UTC) |
commit | 713db174943e9184bfa68fa430123c52ad3c3b2b (patch) (unidiff) | |
tree | 6f19a3127d0b0d142db2520611fa66245124b862 /noncore/multimedia/opieplayer2/xinevideowidget.h | |
parent | 8729cfb1a96057fb2d46188aa091c4086ae6ae61 (diff) | |
download | opie-713db174943e9184bfa68fa430123c52ad3c3b2b.zip opie-713db174943e9184bfa68fa430123c52ad3c3b2b.tar.gz opie-713db174943e9184bfa68fa430123c52ad3c3b2b.tar.bz2 |
- replaced the origin videopaint with a more simple one (this high-sophisticated stuff
isn't needed) in xinevideo
- replaced an assert in lib.cpp with a "if" construct
- may set a file without start playing it (for getting information and so on)
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinevideowidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinevideowidget.h b/noncore/multimedia/opieplayer2/xinevideowidget.h index 7f00aaa..eccff1a 100644 --- a/noncore/multimedia/opieplayer2/xinevideowidget.h +++ b/noncore/multimedia/opieplayer2/xinevideowidget.h | |||
@@ -52,29 +52,30 @@ public: | |||
52 | void clear ( ); | 52 | void clear ( ); |
53 | 53 | ||
54 | QSize videoSize() const; | 54 | QSize videoSize() const; |
55 | 55 | ||
56 | protected: | 56 | protected: |
57 | void paintEvent2( QPaintEvent *p ); | 57 | void paintEvent2( QPaintEvent *p ); |
58 | virtual void paintEvent(QPaintEvent*); | 58 | virtual void paintEvent(QPaintEvent*); |
59 | virtual void resizeEvent ( QResizeEvent *r ); | 59 | virtual void resizeEvent ( QResizeEvent *r ); |
60 | 60 | ||
61 | void mouseReleaseEvent ( QMouseEvent *e ); | 61 | void mouseReleaseEvent ( QMouseEvent *e ); |
62 | 62 | ||
63 | signals: | 63 | signals: |
64 | void clicked ( ); | 64 | void clicked ( ); |
65 | void videoResized ( const QSize &s ); | 65 | void videoResized ( const QSize &s ); |
66 | 66 | ||
67 | private: | 67 | private: |
68 | QRect m_lastframe; | 68 | QRect m_lastframe; |
69 | QRect m_thisframe; | 69 | QRect m_thisframe; |
70 | 70 | ||
71 | uchar *m_buff; | 71 | uchar *m_buff; |
72 | int m_bytes_per_line_fb; | 72 | int m_bytes_per_line_fb; |
73 | int m_bytes_per_line_frame; | 73 | int m_bytes_per_line_frame; |
74 | int m_bytes_per_pixel; | 74 | int m_bytes_per_pixel; |
75 | int m_lastsize; | 75 | int m_lastsize; |
76 | QSize m_framesize; | ||
76 | QImage *m_logo; | 77 | QImage *m_logo; |
77 | mutable int m_rotation; | 78 | mutable int m_rotation; |
78 | ThreadUtil::Mutex m_bufmutex; | 79 | ThreadUtil::Mutex m_bufmutex; |
79 | }; | 80 | }; |
80 | 81 | ||