search for: content_in_frame

Displaying 9 results from an estimated 9 matches for "content_in_frame".

2007 Apr 22
0
libswfdec/swfdec_tag.c
...and state aren't taken twice in buttons diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c index 6000d45..74c5083 100644 --- a/libswfdec/swfdec_tag.c +++ b/libswfdec/swfdec_tag.c @@ -272,12 +272,45 @@ tag_func_do_action (SwfdecSwfDecoder * s return SWFDEC_STATUS_OK; } +#define CONTENT_IN_FRAME(content, frame) \ + ((content)->sequence->start <= frame && \ + (content)->sequence->end > frame) +static guint +swfdec_button_remove_duplicates (SwfdecButton *button, int depth, guint states) +{ + GList *walk; + guint taken = 0; + guint i; + + /* 1) find out which...
2007 Aug 13
0
2 commits - libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h
...break; + case 7: + { + guint n; + n = swfdec_bits_get_u8 (bits); + SWFDEC_WARNING (" gradient bevel"); + swfdec_bits_skip_bytes (bits, n * 5 + 19); + } + break; + default: + SWFDEC_ERROR ("unknown filter id %u", filter_id); + break; + } + } +} + #define CONTENT_IN_FRAME(content, frame) \ ((content)->sequence->start <= frame && \ (content)->sequence->end > frame) diff --git a/libswfdec/swfdec_tag.h b/libswfdec/swfdec_tag.h index ac7c2fa..91bba34 100644 --- a/libswfdec/swfdec_tag.h +++ b/libswfdec/swfdec_tag.h @@ -92,4 +92,9 @@ typed...
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
...e->button->events) swfdec_event_list_execute (movie->button->events, SWFDEC_SCRIPTABLE (SWFDEC_MOVIE (movie)->parent), condition, 0); + name = swfdec_button_condition_get_name (condition); + swfdec_scriptable_execute (SWFDEC_SCRIPTABLE (movie), name, 0, NULL); } #define CONTENT_IN_FRAME(content, frame) \ diff-tree ae9a32b99f5c17460709832562a94f83c527efd3 (from 66c73cff80ee0553549a566b7159687f65e6efc2) Author: Benjamin Otte <otte@gnome.org> Date: Mon Mar 19 16:29:43 2007 +0100 invisible movies don't receive click events diff --git a/libswfdec/swfdec_movie.c b/libs...
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
...(movie->button->events, - SWFDEC_AS_OBJECT (SWFDEC_MOVIE (movie)->parent), - SWFDEC_SECURITY (SWFDEC_MOVIE (movie)->resource), condition, 0); - name = swfdec_button_condition_get_name (condition); - swfdec_as_object_call (SWFDEC_AS_OBJECT (movie), name, 0, NULL, NULL); -} - -#define CONTENT_IN_FRAME(content, frame) \ - ((content)->sequence->start <= frame && \ - (content)->sequence->end > frame) -static void -swfdec_button_movie_change_state (SwfdecButtonMovie *movie, SwfdecButtonState state) -{ - SwfdecMovie *mov = SWFDEC_MOVIE (movie); - GList *walk; - - g_ass...
2007 Aug 13
0
Branch 'vivi' - 24 commits - configure.ac libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h vivified/core vivified/dock vivified/ui
...break; + case 7: + { + guint n; + n = swfdec_bits_get_u8 (bits); + SWFDEC_WARNING (" gradient bevel"); + swfdec_bits_skip_bytes (bits, n * 5 + 19); + } + break; + default: + SWFDEC_ERROR ("unknown filter id %u", filter_id); + break; + } + } +} + #define CONTENT_IN_FRAME(content, frame) \ ((content)->sequence->start <= frame && \ (content)->sequence->end > frame) diff --git a/libswfdec/swfdec_tag.h b/libswfdec/swfdec_tag.h index ac7c2fa..91bba34 100644 --- a/libswfdec/swfdec_tag.h +++ b/libswfdec/swfdec_tag.h @@ -92,4 +92,9 @@ typed...
2007 Apr 12
0
Branch 'as' - 15 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c
...utton->events, SWFDEC_AS_OBJECT (SWFDEC_MOVIE (movie)->parent), condition, 0); name = swfdec_button_condition_get_name (condition); - swfdec_as_object_call (SWFDEC_AS_OBJECT (movie), name, 0, NULL); + swfdec_as_object_call (SWFDEC_AS_OBJECT (movie), name, 0, NULL, NULL); } #define CONTENT_IN_FRAME(content, frame) \ diff --git a/libswfdec/swfdec_connection.c b/libswfdec/swfdec_connection.c index d55c916..e10e53b 100644 --- a/libswfdec/swfdec_connection.c +++ b/libswfdec/swfdec_connection.c @@ -76,7 +76,7 @@ swfdec_connection_onstatus (SwfdecConnec } SWFDEC_AS_VALUE_SET_OBJECT (&valu...
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...e); - script = swfdec_script_new_for_context (SWFDEC_AS_CONTEXT (SWFDEC_DECODER (s)->player), &s->b, name, s->version); - g_free (name); - if (script) - swfdec_sprite_add_action (s->parse_sprite, SWFDEC_SPRITE_ACTION_SCRIPT, script); - - return SWFDEC_STATUS_OK; -} - #define CONTENT_IN_FRAME(content, frame) \ ((content)->sequence->start <= frame && \ (content)->sequence->end > frame) @@ -572,6 +556,55 @@ tag_func_do_init_action (SwfdecSwfDecode return SWFDEC_STATUS_OK; } +static int +tag_func_enqueue (SwfdecSwfDecoder *s, guint tag) +{ + SwfdecBu...
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
...nt), condition, 0); + SWFDEC_AS_OBJECT (SWFDEC_MOVIE (movie)->parent), condition, 0); name = swfdec_button_condition_get_name (condition); - swfdec_scriptable_execute (SWFDEC_SCRIPTABLE (movie), name, 0, NULL); + swfdec_as_object_call (SWFDEC_AS_OBJECT (movie), name, 0, NULL); } #define CONTENT_IN_FRAME(content, frame) \ diff --git a/libswfdec/swfdec_connection.c b/libswfdec/swfdec_connection.c index 464affb..d55c916 100644 --- a/libswfdec/swfdec_connection.c +++ b/libswfdec/swfdec_connection.c @@ -23,13 +23,13 @@ #include <string.h> #include "swfdec_connection.h" +#include &qu...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...0); } if (movie->button->events) - swfdec_event_list_execute (movie->button->events, SWFDEC_MOVIE (movie)->parent, condition, 0); + swfdec_event_list_execute (movie->button->events, + SWFDEC_SCRIPTABLE (SWFDEC_MOVIE (movie)->parent), condition, 0); } #define CONTENT_IN_FRAME(content, frame) \ diff --git a/libswfdec/swfdec_compiler.c b/libswfdec/swfdec_compiler.c index abeec0b..45983b6 100644 --- a/libswfdec/swfdec_compiler.c +++ b/libswfdec/swfdec_compiler.c @@ -1246,23 +1246,6 @@ typedef struct { static const SwfdecActionSpec * swfdec_action_find (guint action);...