search for: mouse_visible

Displaying 11 results from an estimated 11 matches for "mouse_visible".

2007 Jun 10
0
Branch 'as' - 5 commits - libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie_asprops.c test/trace
...se_removeListener (SwfdecAsObj } static void -swfdec_mouse_show (SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *return_value) +swfdec_mouse_show (SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *retval) { - SWFDEC_PLAYER (object->context)->mouse_visible = TRUE; + SwfdecPlayer *player = SWFDEC_PLAYER (object->context); + + SWFDEC_AS_VALUE_SET_INT (retval, player->mouse_visible ? 1 : 0); + player->mouse_visible = TRUE; } static void -swfdec_mouse_hide (SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *return_val...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...dec/swfdec_mouse_as.c index 914e009..88ee046 100644 --- a/libswfdec/swfdec_mouse_as.c +++ b/libswfdec/swfdec_mouse_as.c @@ -34,8 +34,8 @@ swfdec_mouse_show (SwfdecAsContext *cx, SwfdecAsObject *object, { SwfdecPlayer *player = SWFDEC_PLAYER (cx); - SWFDEC_AS_VALUE_SET_INT (retval, player->mouse_visible ? 1 : 0); - player->mouse_visible = TRUE; + SWFDEC_AS_VALUE_SET_INT (retval, player->priv->mouse_visible ? 1 : 0); + player->priv->mouse_visible = TRUE; } SWFDEC_AS_NATIVE (5, 1, swfdec_mouse_hide) @@ -45,7 +45,7 @@ swfdec_mouse_hide (SwfdecAsContext *cx, SwfdecAsObject *objec...
2007 Jun 12
0
Branch 'as' - 3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_string.c
...alue *retval) +swfdec_mouse_show (SwfdecAsContext *cx, SwfdecAsObject *object, + guint argc, SwfdecAsValue *argv, SwfdecAsValue *retval) { - SwfdecPlayer *player = SWFDEC_PLAYER (object->context); + SwfdecPlayer *player = SWFDEC_PLAYER (cx); SWFDEC_AS_VALUE_SET_INT (retval, player->mouse_visible ? 1 : 0); player->mouse_visible = TRUE; } static void -swfdec_mouse_hide (SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *retval) +swfdec_mouse_hide (SwfdecAsContext *cx, SwfdecAsObject *object, + guint argc, SwfdecAsValue *argv, SwfdecAsValue *retval) { - Swf...
2007 Oct 28
0
5 commits - autogen.sh configure.ac libswfdec-gtk/Makefile.am libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_player.c test/trace
...580,7 @@ swfdec_player_init (SwfdecPlayer *player) player->bgcolor = SWFDEC_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF); player->runtime = g_timer_new (); + g_timer_stop (player->runtime); player->invalidations = g_array_new (FALSE, FALSE, sizeof (SwfdecRectangle)); player->mouse_visible = TRUE; player->mouse_cursor = SWFDEC_MOUSE_CURSOR_NORMAL; commit 20d682af331fa8e8a6b12b1a22c189b4876c0028 Author: Benjamin Otte <otte at gnome.org> Date: Sun Oct 28 22:54:18 2007 +0100 make GStreamer the default backend diff --git a/libswfdec/swfdec_codec_audio.c b/libswfdec/sw...
2007 Feb 17
0
2 commits - doc/swfdec-sections.txt libswfdec/swfdec_color.h libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
...820,6 +829,7 @@ swfdec_player_init (SwfdecPlayer *player player->actions = swfdec_ring_buffer_new_for_type (SwfdecPlayerAction, 16); player->cache = swfdec_cache_new (50 * 1024 * 1024); /* 100 MB */ + player->bgcolor = SWFDEC_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF); player->mouse_visible = TRUE; player->mouse_cursor = SWFDEC_MOUSE_CURSOR_NORMAL; @@ -1154,14 +1164,8 @@ swfdec_player_render (SwfdecPlayer *play cairo_rectangle (cr, x, y, width, height); cairo_clip (cr); cairo_scale (cr, 1.0 / SWFDEC_TWIPS_SCALE_FACTOR, 1.0 / SWFDEC_TWIPS_SCALE_FACTOR); - /* FIXME: find...
2007 Oct 22
0
6 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_player.c libswfdec/swfdec_player.h
...cPlayer *player) player->cache = swfdec_cache_new (50 * 1024 * 1024); /* 100 MB */ player->bgcolor = SWFDEC_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF); + player->runtime = g_timer_new (); player->invalidations = g_array_new (FALSE, FALSE, sizeof (SwfdecRectangle)); player->mouse_visible = TRUE; player->mouse_cursor = SWFDEC_MOUSE_CURSOR_NORMAL; @@ -2434,6 +2460,8 @@ swfdec_player_set_alignment (SwfdecPlayer *player, SwfdecAlignment align) void swfdec_player_set_align_flags (SwfdecPlayer *player, guint flags) { + g_return_if_fail (SWFDEC_IS_PLAYER (player)); + if (flag...
2007 Nov 08
0
8 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_player.c test/trace
...layer::invalidate: @@ -1652,6 +1652,7 @@ swfdec_player_init (SwfdecPlayer *player) player->runtime = g_timer_new (); g_timer_stop (player->runtime); + player->max_runtime = 10 * 1000; player->invalidations = g_array_new (FALSE, FALSE, sizeof (SwfdecRectangle)); player->mouse_visible = TRUE; player->mouse_cursor = SWFDEC_MOUSE_CURSOR_NORMAL; @@ -2000,6 +2001,7 @@ swfdec_player_new (SwfdecAsDebugger *debugger) swfdec_init (); player = g_object_new (SWFDEC_TYPE_PLAYER, "random-seed", 0, + "max-runtime", 0, "debugger", debug...
2007 Aug 22
0
8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite_movie_as.c vivified/core
...r_internal.h @@ -82,13 +82,13 @@ struct _SwfdecPlayer SwfdecAsObject * Video; /* Video object */ /* rendering */ - SwfdecRect invalid; /* area that needs a rredraw */ + SwfdecRect invalid; /* area that needs a redraw in global coordinates */ /* mouse */ gboolean mouse_visible; /* show the mouse (actionscriptable) */ SwfdecMouseCursor mouse_cursor; /* cursor that should be shown */ - double mouse_x; /* in twips */ - double mouse_y; /* in twips */ + double mouse_x; /* in stage coordinates */ + double mouse_y; /* in stage coordinates */ in...
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
...return; - swfdec_listener_remove (player->mouse_listener, SWFDEC_AS_VALUE_GET_OBJECT (&argv[0])); -} - SWFDEC_AS_NATIVE (5, 0, swfdec_mouse_show) void swfdec_mouse_show (SwfdecAsContext *cx, SwfdecAsObject *object, @@ -72,23 +48,3 @@ swfdec_mouse_hide (SwfdecAsContext *cx, player->mouse_visible = FALSE; } -void -swfdec_mouse_init_context (SwfdecPlayer *player, guint version) -{ - SwfdecAsValue val; - SwfdecAsObject *mouse; - - mouse = swfdec_as_object_new (SWFDEC_AS_CONTEXT (player)); - if (!mouse) - return; - SWFDEC_AS_VALUE_SET_OBJECT (&val, mouse); - swfdec_as_object_...
2007 Mar 15
0
11 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_event.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...yer->construct_queue)); + g_queue_free (player->init_queue); + g_queue_free (player->construct_queue); swfdec_cache_unref (player->cache); if (player->loader) { g_object_unref (player->loader); @@ -883,6 +898,8 @@ swfdec_player_init (SwfdecPlayer *player player->mouse_visible = TRUE; player->mouse_cursor = SWFDEC_MOUSE_CURSOR_NORMAL; player->iterate_timeout.callback = swfdec_player_iterate; + player->init_queue = g_queue_new (); + player->construct_queue = g_queue_new (); } void diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_p...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...l_actions = swfdec_ring_buffer_new_for_type (SwfdecPlayerExternalAction, 8); player->cache = swfdec_cache_new (50 * 1024 * 1024); /* 100 MB */ player->bgcolor = SWFDEC_COLOR_COMBINE (0xFF, 0xFF, 0xFF, 0xFF); @@ -1529,8 +1584,6 @@ swfdec_player_init (SwfdecPlayer *player) player->mouse_visible = TRUE; player->mouse_cursor = SWFDEC_MOUSE_CURSOR_NORMAL; player->iterate_timeout.callback = swfdec_player_iterate; - player->init_queue = g_queue_new (); - player->construct_queue = g_queue_new (); player->stage_width = -1; player->stage_height = -1; } @@ -1836,7...