search for: mouse_cursor

Displaying 10 results from an estimated 10 matches for "mouse_cursor".

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
...DEFAULT_HEIGHT: - g_value_set_uint (value, player->height); + g_value_set_uint (value, priv->height); break; case PROP_RATE: - g_value_set_double (value, player->rate / 256.0); + g_value_set_double (value, priv->rate / 256.0); break; case PROP_MOUSE_CURSOR: - g_value_set_enum (value, player->mouse_cursor); + g_value_set_enum (value, priv->mouse_cursor); break; case PROP_NEXT_EVENT: g_value_set_uint (value, swfdec_player_get_next_event (player)); break; case PROP_WIDTH: - g_value_set_int (value, play...
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
...layer *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/swfdec_codec_audio.c index 5e8b9aa..7...
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
...te <otte@gnome.org> + * Copyright (C) 2006-2007 Benjamin Otte <otte@gnome.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -266,7 +266,8 @@ enum { PROP_CACHE_SIZE, PROP_INITIALIZED, PROP_MOUSE_CURSOR, - PROP_NEXT_EVENT + PROP_NEXT_EVENT, + PROP_BACKGROUND_COLOR }; G_DEFINE_TYPE (SwfdecPlayer, swfdec_player, G_TYPE_OBJECT) @@ -285,6 +286,9 @@ swfdec_player_get_property (GObject *obj SwfdecPlayer *player = SWFDEC_PLAYER (object); switch (param_id) { + case PROP_BACKGROUND_COLO...
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
..._timer_start (player->runtime); SWFDEC_DEBUG ("LOCKED"); } @@ -1239,6 +1240,7 @@ swfdec_player_unlock_soft (SwfdecPlayer *player) g_return_if_fail (SWFDEC_IS_PLAYER (player)); SWFDEC_DEBUG ("UNLOCK"); + g_timer_stop (player->runtime); swfdec_player_update_mouse_cursor (player); g_object_thaw_notify (G_OBJECT (player)); swfdec_player_emit_signals (player); @@ -1307,7 +1309,7 @@ swfdec_player_check_continue (SwfdecAsContext *context) if (player->max_runtime == 0) return TRUE; - return g_timer_elapsed (player->runtime, NULL) * 1000 > playe...
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
...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", debugger, NULL); return player; com...
2007 Nov 07
0
7 commits - doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_decoder.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...t a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index 37b6f56..dd15962 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -600,6 +600,9 @@ enum { PROP_0, PROP_CACHE_SIZE, PROP_INITIALIZED, + PROP_DEFAULT_WIDTH, + PROP_DEFAULT_HEIGHT, + PROP_RATE, PROP_MOUSE_CURSOR, PROP_NEXT_EVENT, PROP_BACKGROUND_COLOR, @@ -683,6 +686,15 @@ swfdec_player_get_property (GObject *object, guint param_id, GValue *value, case PROP_INITIALIZED: g_value_set_boolean (value, swfdec_player_is_initialized (player)); break; + case PROP_DEFAULT_WIDTH: + g...
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
...; /* 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 */ int mouse_button; /* 0 for not pressed, 1 for pressed */ SwfdecMovie * m...
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
...e_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_player_internal.h index d81b2cf..699...
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
...or_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 +1889,7 @@ swfdec_player_initialize...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...guint keycode, guint character); diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h index e5c14f7..50230db 100644 --- a/libswfdec/swfdec_player_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -99,7 +99,8 @@ struct _SwfdecPlayer SwfdecMouseCursor mouse_cursor; /* cursor that should be shown */ double mouse_x; /* in stage coordinates */ double mouse_y; /* in stage coordinates */ - int mouse_button; /* 0 for not pressed, 1 for pressed */ + guint mouse_button; /* 0 for not pressed, 1 for pressed */ + SwfdecMovie * mouse_below;...