Better tree labels in generic tag editor (Raw edit)

This commit is contained in:
Jindra Petřík
2016-01-23 20:10:18 +01:00
parent 881a97c475
commit 6a6a266776
5 changed files with 81 additions and 58 deletions
@@ -17,6 +17,7 @@
package com.jpexs.decompiler.flash.types;
import com.jpexs.decompiler.flash.tags.base.NeedsCharacters;
import com.jpexs.decompiler.flash.types.annotations.SWFArray;
import java.io.Serializable;
import java.util.Set;
@@ -26,6 +27,7 @@ import java.util.Set;
*/
public class FILLSTYLEARRAY implements NeedsCharacters, Serializable {
@SWFArray(value = "fillStyle")
public FILLSTYLE[] fillStyles;
@Override
@@ -16,6 +16,7 @@
*/
package com.jpexs.decompiler.flash.types;
import com.jpexs.decompiler.flash.types.annotations.SWFArray;
import com.jpexs.decompiler.flash.types.annotations.SWFType;
import java.io.Serializable;
@@ -53,5 +54,6 @@ public class GRADIENT implements Serializable {
public static final int INTERPOLATION_RESERVED2 = 3;
@SWFArray(value = "record")
public GRADRECORD[] gradientRecords = new GRADRECORD[0];
}
@@ -17,6 +17,7 @@
package com.jpexs.decompiler.flash.types;
import com.jpexs.decompiler.flash.tags.base.NeedsCharacters;
import com.jpexs.decompiler.flash.types.annotations.SWFArray;
import java.io.Serializable;
import java.util.Set;
@@ -26,6 +27,7 @@ import java.util.Set;
*/
public class LINESTYLEARRAY implements NeedsCharacters, Serializable {
@SWFArray(value = "lineStyle")
public LINESTYLE[] lineStyles = new LINESTYLE[0];
@Override
@@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash.types;
import com.jpexs.decompiler.flash.SWF;
import com.jpexs.decompiler.flash.exporters.shape.PathExporter;
import com.jpexs.decompiler.flash.tags.base.NeedsCharacters;
import com.jpexs.decompiler.flash.types.annotations.SWFArray;
import com.jpexs.decompiler.flash.types.annotations.SWFType;
import com.jpexs.decompiler.flash.types.shaperecords.EndShapeRecord;
import com.jpexs.decompiler.flash.types.shaperecords.SHAPERECORD;
@@ -42,6 +43,7 @@ public class SHAPE implements NeedsCharacters, Serializable {
@SWFType(value = BasicType.UB, count = 4)
public int numLineBits;
@SWFArray(value = "record")
public List<SHAPERECORD> shapeRecords;
private Shape cachedOutline;