search for: swfdec_player_stage_to_glob

Displaying 6 results from an estimated 6 matches for "swfdec_player_stage_to_glob".

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
...at the invalidate signal uses for its rectangle. The Flash movie itself has no possibility to get to this coordinate system. The global coordinate system is the system all root movies live in. It's what you get after applying the Stage transformations. The two functions swfdec_player_stage_to_global() and swfdec_player_global_to_stage() transform between this and the previous coordinate system. Various Flash functions (like for example hitTest when using coordinates) expect coordinates from this system. The there is one coordinate system per movie. It's what you get afte...
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
...swfdec_movie_get_mouse (SwfdecMovie *movie, double *x, double *y) g_return_if_fail (y != NULL); player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); - *x = player->mouse_x; - *y = player->mouse_y; + *x = player->priv->mouse_x; + *y = player->priv->mouse_y; swfdec_player_stage_to_global (player, x, y); swfdec_movie_global_to_local (movie, x, y); } @@ -1076,7 +1078,7 @@ swfdec_movie_get_by_name (SwfdecMovie *movie, const char *name, gboolean unnamed if (errno != 0 || *end != 0 || l > G_MAXINT) return NULL; i = l - 16384; - for (walk = player->roots;...
2007 Nov 08
0
5 commits - libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h player/swfdec_slow_loader.c test/trace
...Author: Benjamin Otte <otte at gnome.org> Date: Thu Nov 8 16:05:45 2007 +0100 emit onLoadInit events diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index fd84130..d08215d 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -1178,6 +1178,24 @@ swfdec_player_stage_to_global (SwfdecPlayer *player, double *x, double *y) } static void +swfdec_player_execute_on_load_init (SwfdecPlayer *player) +{ + GList *walk; + + /* FIXME: This can be made a LOT faster with correct caching, but I'm lazy */ + do { + for (walk = player->movies; walk; walk = walk->nex...
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...n rewind only check as many Flash versions as we have functions for set to inited before initing, because initing can cause breakpoints to happen copy x0 and y0 immediately or their values will get lost don't have our own init function, ut call it from _check() add swfdec_player_stage_to_global/global_to_stage() fix coordinate systems add swfdec_movie_rect_global_to_local/local_to_global() implement hitTest in a much nicer form make swfdec_movie_mouse_in() check children It's a swfdec-gtk function, so use that prefix include swfdec_gtk_keys.h...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...ec_player_load (SwfdecPlayer * player, const char * url); void swfdec_player_launch (SwfdecPlayer * player, + SwfdecLoaderRequest request, const char * url, - const char * target); + const char * target, + SwfdecBuffer * data); void swfdec_player_stage_to_global (SwfdecPlayer * player, double * x, double * y);
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
...uble x, y; + SwfdecMovie *below_mouse = NULL; - if (player->mouse_button) { - mouse_grab = player->mouse_grab; - } else { - double x, y; - /* if the mouse button is pressed the grab widget stays the same (I think) */ - x = player->mouse_x; - y = player->mouse_y; - swfdec_player_stage_to_global (player, &x, &y); - for (walk = g_list_last (player->roots); walk; walk = walk->prev) { - mouse_grab = swfdec_movie_get_movie_at (walk->data, x, y); - if (mouse_grab) + x = player->mouse_x; + y = player->mouse_y; + swfdec_player_stage_to_global (player, &amp...