Error color (red) extracted to constant in SWF class

This commit is contained in:
Jindra Petřík
2022-11-05 10:27:33 +01:00
parent 1d82af4855
commit dfca43736e
6 changed files with 11 additions and 8 deletions

View File

@@ -377,6 +377,11 @@ public final class SWF implements SWFContainerItem, Timelined {
"CFX", // Compressed ScaleForm GFx
"ABC" // Non-standard LZMA compressed Flash
);
/**
* Color to paint when there is an error (missing image, ...)
*/
public static final Color ERROR_COLOR = Color.red;
public void updateCharacters() {
characters = null;