author | alwin <alwin> | 2005-04-13 12:55:44 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-04-13 12:55:44 (UTC) |
commit | cb10570b4118161a066b741c2674d8d522670623 (patch) (unidiff) | |
tree | 149a5c77bc252443efe658e61717e47cee786f59 /noncore/multimedia/opieplayer2/xinevideowidget.h | |
parent | be565a8eb0c602e5173b71cf71ba510a7a7f4520 (diff) | |
download | opie-cb10570b4118161a066b741c2674d8d522670623.zip opie-cb10570b4118161a066b741c2674d8d522670623.tar.gz opie-cb10570b4118161a066b741c2674d8d522670623.tar.bz2 |
sometimes the display must painted black - we'll just use memset
'cause working on fb itself so we'll not interfer with qpaint
from main thread
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinevideowidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinevideowidget.h b/noncore/multimedia/opieplayer2/xinevideowidget.h index a0ec5bc..f240b1c 100644 --- a/noncore/multimedia/opieplayer2/xinevideowidget.h +++ b/noncore/multimedia/opieplayer2/xinevideowidget.h | |||
@@ -31,12 +31,13 @@ | |||
31 | Boston, MA 02111-1307, USA. | 31 | Boston, MA 02111-1307, USA. |
32 | 32 | ||
33 | */ | 33 | */ |
34 | 34 | ||
35 | 35 | ||
36 | #include <qwidget.h> | 36 | #include <qwidget.h> |
37 | #include <qrect.h> | ||
37 | 38 | ||
38 | #include "lib.h" | 39 | #include "lib.h" |
39 | 40 | ||
40 | class QImage; | 41 | class QImage; |
41 | 42 | ||
42 | 43 | ||
@@ -54,12 +55,14 @@ public: | |||
54 | QSize videoSize() const; | 55 | QSize videoSize() const; |
55 | 56 | ||
56 | protected: | 57 | protected: |
57 | void paintEvent2( QPaintEvent *p ); | 58 | void paintEvent2( QPaintEvent *p ); |
58 | virtual void paintEvent(QPaintEvent*); | 59 | virtual void paintEvent(QPaintEvent*); |
59 | virtual void resizeEvent ( QResizeEvent *r ); | 60 | virtual void resizeEvent ( QResizeEvent *r ); |
61 | QRect old_framerect; | ||
62 | QSize old_size; | ||
60 | 63 | ||
61 | void mouseReleaseEvent ( QMouseEvent *e ); | 64 | void mouseReleaseEvent ( QMouseEvent *e ); |
62 | 65 | ||
63 | signals: | 66 | signals: |
64 | void clicked ( ); | 67 | void clicked ( ); |
65 | void videoResized ( const QSize &s ); | 68 | void videoResized ( const QSize &s ); |