Displaying 7 results from an estimated 7 matches for "swfdec_button_append_cont".
2007 Aug 13
0
2 commits - libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h
...nome.org>
Date: Mon Aug 13 14:13:01 2007 +0200
implement blend mode and filter parsing (better: ignoring) for buttons
diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c
index a556e19..ef1db99 100644
--- a/libswfdec/swfdec_tag.c
+++ b/libswfdec/swfdec_tag.c
@@ -387,43 +387,56 @@ swfdec_button_append_content (SwfdecButt
static int
tag_func_define_button_2 (SwfdecSwfDecoder * s, guint tag)
{
- SwfdecBits *bits = &s->b;
- int id;
- int flags;
- int offset;
+ SwfdecBits bits;
+ int id, reserved;
+ guint length;
SwfdecButton *button;
char *script_name;
- id = swfdec_bits_get_u1...
2007 Apr 22
0
libswfdec/swfdec_tag.c
...2) mark states that overlap */
+ taken &= states;
+ /* 3) remove the overlapping states */
+ if (taken) {
+ SWFDEC_ERROR ("overlapping contents in button, removing for depth %u and states %u",
+ depth, taken);
+ states &= ~taken;
+ }
+ return states;
+}
+
static void
swfdec_button_append_content (SwfdecButton *button, guint states, SwfdecContent *content)
{
guint i;
SwfdecContent *cur = NULL;
+ states = swfdec_button_remove_duplicates (button, content->depth, states);
+
for (i = 0; i < 4; i++) {
if (!cur && (states & 1)) {
cur = content;
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
...nome.org>
Date: Mon Aug 13 14:13:01 2007 +0200
implement blend mode and filter parsing (better: ignoring) for buttons
diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c
index a556e19..ef1db99 100644
--- a/libswfdec/swfdec_tag.c
+++ b/libswfdec/swfdec_tag.c
@@ -387,43 +387,56 @@ swfdec_button_append_content (SwfdecButt
static int
tag_func_define_button_2 (SwfdecSwfDecoder * s, guint tag)
{
- SwfdecBits *bits = &s->b;
- int id;
- int flags;
- int offset;
+ SwfdecBits bits;
+ int id, reserved;
+ guint length;
SwfdecButton *button;
char *script_name;
- id = swfdec_bits_get_u1...
2007 Jun 15
0
Branch 'as' - 5 commits - libswfdec/swfdec_as_native_function.c libswfdec/swfdec_edittext.c libswfdec/swfdec_edittext.h libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_morphshape.h
...SWFDEC_WARNING ("early parse finish (%d bytes)",
@@ -267,7 +253,7 @@ tag_func_define_sprite (SwfdecSwfDecoder
}
int
-tag_func_do_action (SwfdecSwfDecoder * s)
+tag_func_do_action (SwfdecSwfDecoder * s, guint tag)
{
SwfdecScript *script;
char *name;
@@ -354,7 +340,7 @@ swfdec_button_append_content (SwfdecButt
}
int
-tag_func_define_button_2 (SwfdecSwfDecoder * s)
+tag_func_define_button_2 (SwfdecSwfDecoder * s, guint tag)
{
SwfdecBits *bits = &s->b;
int id;
@@ -442,7 +428,7 @@ tag_func_define_button_2 (SwfdecSwfDecod
}
int
-tag_func_define_button (SwfdecSwfDecoder *...
2007 Mar 07
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
...- SWFDEC_ERROR ("sprite %u already has an init action", id);
- return SWFDEC_STATUS_OK;
- }
- sprite->init_action = swfdec_script_new_for_player (SWFDEC_DECODER (s)->player,
- bits, "InitAction", s->version);
-
- return SWFDEC_STATUS_OK;
-}
-
static void
swfdec_button_append_content (SwfdecButton *button, guint states, SwfdecContent *content)
{
@@ -492,34 +469,6 @@ tag_func_define_button (SwfdecSwfDecoder
}
static int
-tag_func_export_assets (SwfdecSwfDecoder * s)
-{
- SwfdecBits *bits = &s->b;
- unsigned int count, i;
-
- count = swfdec_bits_get_u16 (bits);...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...ection) {
@@ -69,7 +69,7 @@ tag_func_protect (SwfdecSwfDecoder * s,
return SWFDEC_STATUS_OK;
}
-int
+static int
tag_func_frame_label (SwfdecSwfDecoder * s, guint tag)
{
SwfdecSpriteFrame *frame = &s->parse_sprite->frames[s->parse_sprite->parse_frame];
@@ -323,7 +323,7 @@ swfdec_button_append_content (SwfdecButt
}
}
-int
+static int
tag_func_define_button_2 (SwfdecSwfDecoder * s, guint tag)
{
SwfdecBits *bits = &s->b;
@@ -411,7 +411,7 @@ tag_func_define_button_2 (SwfdecSwfDecod
return SWFDEC_STATUS_OK;
}
-int
+static int
tag_func_define_button (SwfdecSwfDecoder * s,...
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
...2) mark states that overlap */
- taken &= states;
- /* 3) remove the overlapping states */
- if (taken) {
- SWFDEC_ERROR ("overlapping contents in button, removing for depth %u and states %u",
- depth, taken);
- states &= ~taken;
- }
- return states;
-}
-
-static void
-swfdec_button_append_content (SwfdecButton *button, guint states, SwfdecContent *content)
-{
- guint i;
- SwfdecContent *cur = NULL;
-
- states = swfdec_button_remove_duplicates (button, content->depth, states);
-
- for (i = 0; i < 4; i++) {
- if (!cur && (states & 1)) {
- cur = content;
-...