summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-05-03 18:22:37 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-05-03 18:22:37 +0000
commit9142df5dc4bd090d324c2b62059f52f4e83b737f (patch)
treed08d3c958663cfd97b927b9aecb095aa10bf66b0 /src
parent977dd61d21c00c84a3a744ca83e72968feec8c93 (diff)
downloadxine-lib-9142df5dc4bd090d324c2b62059f52f4e83b737f.tar.gz
xine-lib-9142df5dc4bd090d324c2b62059f52f4e83b737f.tar.bz2
Implement xine_*_window*() functions.
CVS patchset: 58 CVS date: 2001/05/03 18:22:37
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/video_out.c7
-rw-r--r--src/xine-engine/xine.c42
2 files changed, 47 insertions, 2 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index 6fcf6abf6..78c37d839 100644
--- a/src/xine-engine/video_out.c
+++ b/src/xine-engine/video_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out.c,v 1.1 2001/04/24 20:57:11 f1rmb Exp $
+ * $Id: video_out.c,v 1.2 2001/05/03 18:22:37 f1rmb Exp $
*
*/
@@ -319,6 +319,10 @@ static void vo_exit (vo_instance_t *this) {
}
+static void *vo_get_window(vo_instance_t *this) {
+ return this->driver->get_window (this->driver);
+}
+
static uint32_t vo_get_capabilities (vo_instance_t *this) {
return this->driver->get_capabilities (this->driver);
}
@@ -447,6 +451,7 @@ vo_instance_t *vo_new_instance (vo_driver_t *driver, metronom_t *metronom) {
this->get_frame = vo_get_frame;
this->close = vo_close;
this->exit = vo_exit;
+ this->get_window = vo_get_window;
this->get_property = vo_get_property;
this->set_property = vo_set_property;
this->get_property_min_max = vo_get_property_min_max;
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 98ec4e05a..5d39330cc 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine.c,v 1.11 2001/04/30 21:55:27 guenter Exp $
+ * $Id: xine.c,v 1.12 2001/05/03 18:22:37 f1rmb Exp $
*
* top-level xine functions
*
@@ -526,3 +526,43 @@ int xine_get_status(xine_t *this) {
return this->status;
}
+/*
+ *
+ */
+void *xine_get_window_output(xine_t *this) {
+
+ return (this->video_out->get_window(this->video_out));
+}
+
+/*
+ *
+ */
+int xine_get_window_property(xine_t *this, int property) {
+
+ return (this->video_out->get_property(this->video_out, property));
+}
+
+/*
+ *
+ */
+int xine_set_window_property(xine_t *this, int property, int value) {
+
+ return (this->video_out->set_property(this->video_out, property, value));
+}
+
+/*
+ *
+ */
+void xine_get_window_property_min_max(xine_t *this,
+ int property, int *min, int *max) {
+
+ this->video_out->get_property_min_max(this->video_out, property, min, max);
+}
+
+/*
+ *
+ */
+void xine_window_handle_event(xine_t *this, void *event) {
+
+ this->video_out->handle_event(this->video_out, event);
+}