Displaying 13 results from an estimated 13 matches for "has_transform".
2007 Jun 14
0
Branch 'as' - 4 commits - libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c player/swfdec_debug_movies.c
...movie->yscale / swfdec_matrix_get_yscale (&movie->original_transform);
diff-tree e19bb05ecfe5bd2c134f1f1a21fb846179721d65 (from 76e741342c4dab3f7f40715b8018c1f5f8394ef9)
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Jun 14 09:55:42 2007 +0200
add has_color_transform and has_transform field to SwfdecContent
SwfdecContent needs to die, but that's another big reorg patch I'm scared of atm.
As far as I see it, a SwfdecSprite should just save all displaylist tags (the
stuff that's called actions right now) verbatim in a long list of buffers and
whene...
2007 Jun 14
0
Branch 'as' - 7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c player/Makefile.am
..._sprite_movie.c
@@ -86,7 +86,7 @@ swfdec_sprite_movie_perform_one_action (
child = swfdec_movie_find (mov, content->depth);
if (child != NULL) {
/* FIXME: add ability to change characters - This needs lots of refactoring */
- swfdec_movie_set_static_properties (movie, content->has_transform ? &content->transform : NULL,
+ swfdec_movie_set_static_properties (child, content->has_transform ? &content->transform : NULL,
content->has_color_transform ? &content->color_transform : NULL,
content->ratio, content->clip_depth, content->events);...
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
...if (!SWFDEC_IS_GRAPHIC (graphic)) {
SWFDEC_FIXME ("character %u is not a graphic (does it even exist?), aborting", id);
- return TRUE;
+ return FALSE;
}
cur = swfdec_movie_new (player, depth, mov, graphic, name);
swfdec_movie_set_static_properties (cur, has_transform ? &transform : NULL,
diff-tree 0ca7a97fe2449e4fc4c63789ee59dafb07cf5175 (from d55b3b31fa7300ace9dc3ae107966d5fda9e1d6e)
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Jun 18 23:43:19 2007 +0200
only trigger events for sprite movies
diff --git a/libswfdec/swfdec_movie.c b/lib...
2007 Jun 20
1
Branch 'as' - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c
...INFO ("no movie at depth %d, ignoring move command", depth);
return TRUE;
}
+ if (graphic) {
+ SwfdecMovieClass *klass = SWFDEC_MOVIE_GET_CLASS (cur);
+ if (klass->replace)
+ klass->replace (cur, graphic);
+ }
swfdec_movie_set_static_properties (cur, has_transform ? &transform : NULL,
has_ctrans ? &ctrans : NULL, ratio, clip_depth, events);
} else {
- SwfdecGraphic *graphic;
if (cur != NULL && version > 5) {
SWFDEC_INFO ("depth %d is already occupied by movie %s, not placing", depth, cur->name);
ret...
2007 Aug 13
0
2 commits - libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h
...;",
@@ -431,16 +444,22 @@ tag_func_define_button_2 (SwfdecSwfDecod
character, depth);
content = swfdec_content_new (depth);
- swfdec_bits_get_matrix (bits, &content->transform, NULL);
+ swfdec_bits_get_matrix (&bits, &content->transform, NULL);
content->has_transform = TRUE;
SWFDEC_LOG ("matrix: %g %g %g %g %g %g",
content->transform.xx, content->transform.yy,
content->transform.xy, content->transform.yx,
content->transform.x0, content->transform.y0);
- swfdec_bits_get_color_transform (bits, &content->color_t...
2007 Jul 03
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_math.c libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/trace
...fdec_sprite_movie.c
index 14ce0ff..3e741ea 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -266,12 +266,12 @@ swfdec_sprite_movie_perform_place (Swfde
cur = swfdec_movie_new (player, depth, mov, graphic, name);
swfdec_movie_set_static_properties (cur, has_transform ? &transform : NULL,
has_ctrans ? &ctrans : NULL, ratio, clip_depth, events);
+ swfdec_movie_initialize (cur);
if (SWFDEC_IS_SPRITE_MOVIE (cur)) {
g_queue_push_tail (player->init_queue, cur);
g_queue_push_tail (player->construct_queue, cur);
swfdec_movi...
2007 Jul 04
0
Branch 'as' - 25 commits - libswfdec/Makefile.am libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_boolean.h 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
...ildparent.swf test
diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c
index 98d0619..0ae840f 100644
--- a/libswfdec/swfdec_movie.c
+++ b/libswfdec/swfdec_movie.c
@@ -1007,12 +1007,12 @@ swfdec_movie_new_for_content (SwfdecMovi
swfdec_movie_set_static_properties (movie, content->has_transform ? &content->transform : NULL,
content->has_color_transform ? &content->color_transform : NULL,
content->ratio, content->clip_depth, content->events);
- swfdec_movie_initialize (movie);
if (SWFDEC_IS_SPRITE_MOVIE (movie)) {
g_queue_push_tail (player-...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...movie->events);
+ &movie->original_ctrans, movie->original_ratio, movie->clip_depth,
+ movie->blend_mode, movie->events);
return copy;
}
@@ -1193,7 +1199,7 @@ swfdec_movie_new_for_content (SwfdecMovi
swfdec_movie_set_static_properties (movie, content->has_transform ? &content->transform : NULL,
content->has_color_transform ? &content->color_transform : NULL,
- content->ratio, content->clip_depth, content->events);
+ content->ratio, content->clip_depth, content->blend_mode, content->events);
if (SWFDEC...
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
...;",
@@ -431,16 +444,22 @@ tag_func_define_button_2 (SwfdecSwfDecod
character, depth);
content = swfdec_content_new (depth);
- swfdec_bits_get_matrix (bits, &content->transform, NULL);
+ swfdec_bits_get_matrix (&bits, &content->transform, NULL);
content->has_transform = TRUE;
SWFDEC_LOG ("matrix: %g %g %g %g %g %g",
content->transform.xx, content->transform.yy,
content->transform.xy, content->transform.yx,
content->transform.x0, content->transform.y0);
- swfdec_bits_get_color_transform (bits, &content->color_t...
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
...content->graphic,
+ movie = swfdec_movie_new (player, content->depth, parent, parent->resource, content->graphic,
content->name ? swfdec_as_context_get_string (SWFDEC_AS_CONTEXT (player), content->name) : NULL);
swfdec_movie_set_static_properties (movie, content->has_transform ? &content->transform : NULL,
diff --git a/libswfdec/swfdec_movie.h b/libswfdec/swfdec_movie.h
index f5f6887..5cac2a5 100644
--- a/libswfdec/swfdec_movie.h
+++ b/libswfdec/swfdec_movie.h
@@ -182,6 +182,7 @@ GType swfdec_movie_get_type (void);
SwfdecMovie * swfdec_movie_new (SwfdecPlayer...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...ts %u", event_flags & ~SWFDEC_IMPLEMENTED_EVENTS);
}
@@ -266,11 +260,9 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
cur = swfdec_movie_new (player, depth, mov, mov->resource, graphic, name);
swfdec_movie_set_static_properties (cur, has_transform ? &transform : NULL,
has_ctrans ? &ctrans : NULL, ratio, clip_depth, blend_mode, events);
- if (SWFDEC_IS_SPRITE_MOVIE (cur)) {
- g_queue_push_tail (player->init_queue, cur);
- g_queue_push_tail (player->construct_queue, cur);
- swfdec_movie_queue_script (cur, SWF...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...atic gboolean
swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, guint tag)
{
SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context);
@@ -77,7 +145,7 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
gboolean has_transform;
gboolean has_character;
gboolean move;
- gboolean depth;
+ int depth;
gboolean cache;
gboolean has_blend_mode = 0;
gboolean has_filter = 0;
@@ -311,6 +379,8 @@ swfdec_sprite_movie_perform_one_action (SwfdecSpriteMovie *movie, guint tag, Swf
swfdec_player_add_action_script (playe...
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
...parent)->context);
- movie = swfdec_movie_new (player, content->depth, parent, parent->resource, content->graphic,
- content->name ? swfdec_as_context_get_string (SWFDEC_AS_CONTEXT (player), content->name) : NULL);
-
- swfdec_movie_set_static_properties (movie, content->has_transform ? &content->transform : NULL,
- content->has_color_transform ? &content->color_transform : NULL,
- content->ratio, content->clip_depth, content->blend_mode, content->events);
- if (SWFDEC_IS_SPRITE_MOVIE (movie)) {
- swfdec_movie_queue_script (movie, SWFD...