summaryrefslogtreecommitdiff
path: root/src/xine-engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine')
-rw-r--r--src/xine-engine/video_out.c5
-rw-r--r--src/xine-engine/xine.c44
2 files changed, 45 insertions, 4 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index 78c37d839..c13fbf16d 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.2 2001/05/03 18:22:37 f1rmb Exp $
+ * $Id: video_out.c,v 1.3 2001/05/03 22:20:45 f1rmb Exp $
*
*/
@@ -327,8 +327,7 @@ static uint32_t vo_get_capabilities (vo_instance_t *this) {
return this->driver->get_capabilities (this->driver);
}
-static int vo_get_property (vo_instance_t *this,
- int property) {
+static int vo_get_property (vo_instance_t *this, int property) {
return this->driver->get_property (this->driver, property);
}
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 5d39330cc..41191123f 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.12 2001/05/03 18:22:37 f1rmb Exp $
+ * $Id: xine.c,v 1.13 2001/05/03 22:20:45 f1rmb Exp $
*
* top-level xine functions
*
@@ -566,3 +566,45 @@ void xine_window_handle_event(xine_t *this, void *event) {
this->video_out->handle_event(this->video_out, event);
}
+
+/*
+ *
+ */
+void xine_set_window_fullscreen(xine_t *this, int fullscreen) {
+
+ xine_set_window_property(this, VO_PROP_FULLSCREEN, fullscreen);
+}
+
+/*
+ *
+ */
+int xine_get_window_fullscreen(xine_t *this) {
+
+ return (xine_get_window_property(this, VO_PROP_FULLSCREEN));
+}
+
+/*
+ *
+ */
+void xine_set_window_visible(xine_t *this, int visible) {
+
+ xine_set_window_property(this, VO_PROP_WINDOW_VISIBLE, visible);
+}
+
+/*
+ *
+ */
+int xine_get_window_visible(xine_t *this) {
+
+ return (xine_get_window_property(this, VO_PROP_WINDOW_VISIBLE));
+}
+
+void xine_set_display_cursor(xine_t *this, int show) {
+
+ xine_set_window_property(this, VO_PROP_CURSOR_VISIBLE, show);
+}
+
+int xine_get_display_cursor(xine_t *this) {
+
+ return (xine_get_window_property(this, VO_PROP_CURSOR_VISIBLE));
+}