search for: swfdecbuttonst

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

Did you mean: swfdecbutton
2007 Oct 30
0
libswfdec/swfdec_button_movie.c
..., -1, -1, SWFDEC_BUTTON_IDLE_TO_OVER_DOWN }, { SWFDEC_BUTTON_OVER_UP_TO_IDLE, -1, -1, SWFDEC_BUTTON_OVER_UP_TO_OVER_DOWN }, { -1, SWFDEC_BUTTON_OVER_DOWN_TO_IDLE, SWFDEC_BUTTON_OVER_DOWN_TO_OVER_UP, -1 } } }; @@ -156,7 +156,7 @@ swfdec_button_movie_change_state (SwfdecButtonMovie *movie, SwfdecButtonState st static void swfdec_button_movie_change_mouse (SwfdecButtonMovie *movie, gboolean mouse_in, int button) { - SwfdecButtonCondition event; + int event; int sound; if (movie->mouse_in == mouse_in && @@ -173,14 +173,14 @@ swfdec_button_movie_change_mouse (SwfdecButtonMovie...
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
...id 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_get_state (movie, mouse_in, button); - - if (new_state != movie->state) { - swfdec_button_movie_change_state (movie, new_state); + if (events) { + /* check for movies in a higher layer that react to events */ + SwfdecMovie *ret; + ret = SWFDEC_MOV...