search for: clip_walk

Displaying 2 results from an estimated 2 matches for "clip_walk".

2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...s (movie->content->events, + if (movie->events) { + if (!swfdec_event_list_has_conditions (movie->events, SWFDEC_AS_OBJECT (movie), condition, 0)) return FALSE; } else { @@ -618,18 +571,18 @@ swfdec_movie_get_movie_at (SwfdecMovie * clip_depth = 0; for (clip_walk = clip_walk->prev; clip_walk; clip_walk = clip_walk->prev) { SwfdecMovie *clip = walk->data; - if (clip->content->clip_depth) { + if (clip->clip_depth) { double tmpx = x, tmpy = y; cairo_matrix_transform_point (&clip->inverse_matrix, &tmpx, &tmpy); if...
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
...vents should be respected. * * Returns: the child of @movie at the given coordinates or %NULL if none **/ SwfdecMovie * -swfdec_movie_get_movie_at (SwfdecMovie *movie, double x, double y) +swfdec_movie_get_movie_at (SwfdecMovie *movie, double x, double y, gboolean events) { - GList *walk, *clip_walk; - int clip_depth = 0; SwfdecMovie *ret; SwfdecMovieClass *klass; + g_return_val_if_fail (SWFDEC_IS_MOVIE (movie), NULL); + SWFDEC_LOG ("%s %p getting mouse at: %g %g", G_OBJECT_TYPE_NAME (movie), movie, x, y); if (!swfdec_rect_contains (&movie->extents, x, y)) {...