This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit a43bc6be2d3711c3a89eb7646f42d2727b71def2 Author: Josh Tynjala <joshtynj...@apache.org> AuthorDate: Tue Mar 16 11:52:02 2021 -0700 playerglobalc: some missing members --- .../main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java index 6948f41..885d957 100644 --- a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java +++ b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java @@ -107,9 +107,14 @@ class PLAYERGLOBALC implements FlexTool { } private static final Map<String, List<String>> EXTRA_MEMBERS = new HashMap<String, List<String>>(); { + EXTRA_MEMBERS.put("flash.display.DisplayObjectContainer", Arrays + .asList("public native function removeChildren(beginIndex:int = 0, endIndex:int = 0x7fffffff):void")); EXTRA_MEMBERS.put("flash.display.Graphics", Arrays.asList( "public native function cubicCurveTo(controlX1:Number, controlY1:Number, controlX2:Number, controlY2:Number, anchorX:Number, anchorY:Number):void", "public native function drawRoundRectComplex(x:Number, y:Number, width:Number, height:Number, topLeftRadius:Number, topRightRadius:Number, bottomLeftRadius:Number, bottomRightRadius:Number):void")); + EXTRA_MEMBERS.put("flash.events.EventDispatcher", Arrays.asList("public native function toString():String")); + EXTRA_MEMBERS.put("flash.media.Camera", + Arrays.asList("public native function copyToByteArray(rect:Rectangle, destination:ByteArray):void")); } protected ProblemQuery problems;