search for: swfdecbuttonmovie

Displaying 8 results from an estimated 8 matches for "swfdecbuttonmovie".

2007 Oct 30
0
libswfdec/swfdec_button_movie.c
..._TO_OVER_DOWN }, + { -2, -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_mo...
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
...a/libswfdec/swfdec_button.c b/libswfdec/swfdec_button.c index a36d7e9..471b936 100644 --- a/libswfdec/swfdec_button.c +++ b/libswfdec/swfdec_button.c @@ -69,8 +69,6 @@ swfdec_button_create_movie (SwfdecGraphic *graphic, gsize *size) movie->button = g_object_ref (button); *size = sizeof (SwfdecButtonMovie); - g_print ("extents: %g %g %g %g\n", graphic->extents.x0, graphic->extents.y0, - graphic->extents.x1, graphic->extents.y1); if (button->events) SWFDEC_MOVIE (movie)->events = swfdec_event_list_copy (button->events); commit 90003ff936f9e42fe86d69c4c5...
2007 Jun 28
0
Branch 'as' - libswfdec/swfdec_button_movie.c
...uot;onDragOver"; + return SWFDEC_AS_STR_onDragOver; case SWFDEC_BUTTON_OVER_DOWN_TO_IDLE: - return "onDragOut"; + return SWFDEC_AS_STR_onDragOut; default: g_assert_not_reached (); return NULL; } } + static void swfdec_button_movie_execute (SwfdecButtonMovie *movie, SwfdecButtonCondition condition)
2008 Jan 27
2
[Bug 14264] New: flash ad that kills your machine
...pretty sure this is swfdec_player_add_action()'d [...] SWFDEC: FIXME: swfdec_text_field_movie.c(1201): swfdec_text_field_movie_iterate: I'm pretty sure this is swfdec_player_add_action()'d SWFDEC: WARN : swfdec_movie.c(1676): swfdec_movie_set_static_properties: trying to set events on a SwfdecButtonMovie, not allowed This is from a quick profile: eurasia:/home/rm# opreport -t 0.5 -l warning: /no-vmlinux could not be found. CPU: Athlon, speed 2079.63 MHz (estimated) Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask of 0x00 (No unit mask) count 100000 warning: /usr/li...
2007 Mar 19
0
7 commits - libswfdec/jpeg libswfdec/swfdec_button_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_video.c player/swfdec_debug_movies.c
...ReleaseOutside"; + case SWFDEC_BUTTON_IDLE_TO_OVER_DOWN: + return "onDragOver"; + case SWFDEC_BUTTON_OVER_DOWN_TO_IDLE: + return "onDragOut"; + default: + g_assert_not_reached (); + return NULL; + } +} static void swfdec_button_movie_execute (SwfdecButtonMovie *movie, SwfdecButtonCondition condition) { + const char *name; + if (movie->button->menubutton) { g_assert ((condition & (SWFDEC_BUTTON_OVER_DOWN_TO_OUT_DOWN \ | SWFDEC_BUTTON_OUT_DOWN_TO_OVER_DOWN \ @@ -78,6 +108,8 @@ swfdec_button_movie_execute (...
2007 Oct 25
0
4 commits - libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c test/trace
...N_TO_IDLE = 8 } SwfdecButtonCondition; struct _SwfdecButton { diff --git a/libswfdec/swfdec_button_movie.c b/libswfdec/swfdec_button_movie.c index 3aad8fd..c6132a6 100644 --- a/libswfdec/swfdec_button_movie.c +++ b/libswfdec/swfdec_button_movie.c @@ -99,12 +99,12 @@ swfdec_button_movie_execute (SwfdecButtonMovie *movie, const char *name; if (movie->button->menubutton) { - g_assert ((condition & (SWFDEC_BUTTON_OVER_DOWN_TO_OUT_DOWN \ - | SWFDEC_BUTTON_OUT_DOWN_TO_OVER_DOWN \ - | SWFDEC_BUTTON_OUT_DOWN_TO_IDLE)) == 0); + g_assert ((condi...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
..." #include "swfdec_button_movie.h" #include "swfdec_sound.h" @@ -60,11 +59,12 @@ swfdec_button_dispose (GObject *object) } static SwfdecMovie * -swfdec_button_create_movie (SwfdecGraphic *graphic) +swfdec_button_create_movie (SwfdecGraphic *graphic, gsize *size) { SwfdecButtonMovie *movie = g_object_new (SWFDEC_TYPE_BUTTON_MOVIE, NULL); movie->button = SWFDEC_BUTTON (graphic); + *size = sizeof (SwfdecButtonMovie); return SWFDEC_MOVIE (movie); } diff --git a/libswfdec/swfdec_button_movie.c b/libswfdec/swfdec_button_movie.c index 3c7b0b4..15267b6 100644 --- a/lib...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...18 12:31:30 2007 +0200 set security when calling functions diff --git a/libswfdec/swfdec_button_movie.c b/libswfdec/swfdec_button_movie.c index 2e1d80b..3aad8fd 100644 --- a/libswfdec/swfdec_button_movie.c +++ b/libswfdec/swfdec_button_movie.c @@ -108,7 +108,8 @@ swfdec_button_movie_execute (SwfdecButtonMovie *movie, } if (movie->button->events) swfdec_event_list_execute (movie->button->events, - SWFDEC_AS_OBJECT (SWFDEC_MOVIE (movie)->parent), condition, 0); + SWFDEC_AS_OBJECT (SWFDEC_MOVIE (movie)->parent), + SWFDEC_SECURITY (SWFDEC_MOVIE (movie)->resource), condition...