search for: mouse_change

Displaying 3 results from an estimated 3 matches for "mouse_change".

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
...ed from %g %g)", tmpx, tmpy, x, y); - if (swfdec_graphic_mouse_in (content->graphic, tmpx, tmpy)) + if (swfdec_graphic_mouse_in (graphic, tmpx, tmpy)) return TRUE; SWFDEC_LOG (" missed"); } return FALSE; } -static void G_GNUC_UNUSED -swfdec_button_movie_mouse_change (SwfdecMovie *mov, double x, double y, - gboolean mouse_in, int button) +static SwfdecMovie * +swfdec_button_movie_contains (SwfdecMovie *movie, double x, double y, gboolean events) { - SwfdecButtonMovie *movie = SWFDEC_BUTTON_MOVIE (mov); - SwfdecButtonState new_state = swfdec_button_movie_...
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
...l_to_local (SwfdecMovie * movie, + SwfdecRect * rect); void swfdec_movie_set_depth (SwfdecMovie * movie, int depth); void swfdec_movie_get_mouse (SwfdecMovie * movie, @@ -199,6 +203,9 @@ void swfdec_movie_get_mouse (SwfdecMov double * y); void swfdec_movie_send_mouse_change (SwfdecMovie * movie, gboolean release); +gboolean swfdec_movie_mouse_in (SwfdecMovie * movie, + double x, + double y); SwfdecMovie * swfdec_movie_get_movie_at (SwfdecMovie * movie, double x, double y); diff-tree a7762e6746189c482fabf240bfcbfb5d5532...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...g_return_if_fail (y != NULL); - player = SWFDEC_ROOT_MOVIE (movie->root)->player; + player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); *x = player->mouse_x; *y = player->mouse_y; swfdec_movie_global_to_local (movie, x, y); @@ -577,7 +578,7 @@ swfdec_movie_send_mouse_change (SwfdecMo button = 0; } else { mouse_in = swfdec_movie_mouse_in (movie, x, y); - button = SWFDEC_ROOT_MOVIE (movie->root)->player->mouse_button; + button = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context)->mouse_button; } klass = SWFDEC_MOVIE_GET_CLASS (movi...