diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-05-03 22:20:44 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-05-03 22:20:44 +0000 |
commit | 19ce7395a22963e24cf0a703f415b6520ba8feae (patch) | |
tree | 126f64686a964bd3f7d645df191b3186af60f511 /src/xine-engine/xine.c | |
parent | 9142df5dc4bd090d324c2b62059f52f4e83b737f (diff) | |
download | xine-lib-19ce7395a22963e24cf0a703f415b6520ba8feae.tar.gz xine-lib-19ce7395a22963e24cf0a703f415b6520ba8feae.tar.bz2 |
Implement some window/cursor settings functions to public API.
CVS patchset: 59
CVS date: 2001/05/03 22:20:44
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 44 |
1 files changed, 43 insertions, 1 deletions
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)); +} |