git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eeb45c
)
added FoldAllTags method
author
kramm
<kramm>
Tue, 30 Mar 2004 14:52:14 +0000
(14:52 +0000)
committer
kramm
<kramm>
Tue, 30 Mar 2004 14:52:14 +0000
(14:52 +0000)
lib/rfxswf.c
patch
|
blob
|
history
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
b652790
..
94049b2
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-1077,6
+1077,14
@@
void swf_FoldAll(SWF*swf)
}
}
+void swf_FoldAllTags(TAG*tag)
+{
+ SWF swf;
+ memset(&swf, 0, sizeof(swf));
+ swf.firstTag = tag;
+ swf_FoldAll(&swf);
+}
+
void swf_UnFoldAll(SWF*swf)
{
TAG*tag = swf->firstTag;
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
4d4eb07
..
54c5968
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-199,6
+199,7
@@
int swf_ReadHeader(struct reader_t*reader, SWF * swf); // Reads SWF Header vi
// folding/unfolding:
void swf_FoldAll(SWF*swf);
+void swf_FoldAllTags(TAG*tag);
void swf_UnFoldAll(SWF*swf);
void swf_FoldSprite(TAG*tag);
void swf_UnFoldSprite(TAG*tag);