author | harlekin <harlekin> | 2002-08-15 20:51:11 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-15 20:51:11 (UTC) |
commit | be99f951c39d19a6e9923103434afdb293741d35 (patch) (side-by-side diff) | |
tree | 4fe4d6cc51eee0bbdd53c9b353624d104929f08b /noncore/multimedia/opieplayer2/xinevideowidget.h | |
parent | 157b5b1209b656960fc0b27fc077eb36a77b2c3f (diff) | |
download | opie-be99f951c39d19a6e9923103434afdb293741d35.zip opie-be99f951c39d19a6e9923103434afdb293741d35.tar.gz opie-be99f951c39d19a6e9923103434afdb293741d35.tar.bz2 |
click in fullscreen leeds to going back to the normal videowidget now
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.h') (more/less context) (ignore 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 2fc627d..c5101da 100644 --- a/noncore/multimedia/opieplayer2/xinevideowidget.h +++ b/noncore/multimedia/opieplayer2/xinevideowidget.h @@ -38,35 +38,36 @@ #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); void clear() ; - + protected: void paintEvent( QPaintEvent* p ); void resizeEvent ( QResizeEvent *r ); - void mousePressEvent ( QMouseEvent *e ); - void mouseReleaseEvent ( QMouseEvent *e ); + void mousePressEvent ( QMouseEvent *e ); + void mouseReleaseEvent ( QMouseEvent *e ); signals: - void videoResized ( const QSize &s ); - + void clicked(); + void videoResized ( const QSize &s ); + private: - QRect m_lastframe; - QRect m_thisframe; + QRect m_lastframe; + QRect m_thisframe; uchar* m_buff; int m_bytes_per_line_fb; int m_bytes_per_line_frame; int m_bytes_per_pixel; QImage* m_image; int m_rotation; }; |