OSDN Git Service
(root)
/
swfed
/
swfed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317aa2a
)
isButtonTag
author
Yoshihiro Yamazaki
<yoya@awm.jp>
Fri, 10 Feb 2012 18:42:29 +0000
(
03:42
+0900)
committer
Yoshihiro Yamazaki
<yoya@awm.jp>
Fri, 10 Feb 2012 18:42:29 +0000
(
03:42
+0900)
src/swf_define.h
patch
|
blob
|
history
diff --git
a/src/swf_define.h
b/src/swf_define.h
index
ec409fd
..
57807be
100644
(file)
--- a/
src/swf_define.h
+++ b/
src/swf_define.h
@@
-79,6
+79,8
@@
extern void print_hexbin(unsigned char *data, int data_len);
#define isBitmapTag(tag) (isBitsJPEGTag(tag) || isBitsLosslessTag(tag))
// DefineShape1,2,3, DefineMorphShape1
#define isShapeTag(tag) (((tag) == 2) || ((tag) == 22) || ((tag) == 32) || ((tag) == 46))
+// DefineButton1,2
+#define isButtonTag(tag) (((tag) == 7) || ((tag) == 34))
// PlaceObject1,2
#define isPlaceTag(tag) (((tag) == 4) || ((tag) == 26))
#define isSpriteTag(tag) ((tag) == 39)