summaryrefslogtreecommitdiff
path: root/src/videowidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/videowidget.h')
-rw-r--r--src/videowidget.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/videowidget.h b/src/videowidget.h
index 2f8002e..05df0ae 100644
--- a/src/videowidget.h
+++ b/src/videowidget.h
@@ -31,6 +31,10 @@
/*
* $Log$
+ * Revision 1.7 2005/07/26 16:16:56 deva
+ *
+ * Added fullscreen functionality.
+ *
* Revision 1.6 2005/07/25 15:56:27 deva
* *** empty log message ***
*
@@ -60,17 +64,18 @@
class VideoWidget : public QWidget {
Q_OBJECT
public:
- VideoWidget(QWidget *parent, Camera *camera);
+ VideoWidget(QWidget *parent, Camera *camera, QWidget *old = NULL);
~VideoWidget();
QPixmap getScreenshot();
- void mousePressEvent(QMouseEvent *event);
-
-signals:
- void clicked();
+ void mouseReleaseEvent(QMouseEvent *event);
private:
Camera *camera;
+
QWidget *parent;
+
+ // Reassign SDL to this when closing (if non-NULL)
+ QWidget *oldWindow;
};
#endif /* __VIDEOWIDGET_H__ */