You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2021/03/02 12:59:16 UTC
[royale-asjs] branch develop updated: ContainerGlobals.as added
This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new a0606dc ContainerGlobals.as added
a0606dc is described below
commit a0606dc1ff06d6fd5decb541c1e962734e3dbdf6
Author: alinakazi <al...@gmail.com>
AuthorDate: Tue Mar 2 17:59:04 2021 +0500
ContainerGlobals.as added
---
.../MXRoyale/src/main/royale/MXRoyaleClasses.as | 1 +
.../src/main/royale/mx/core/ContainerGlobals.as | 42 ++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
index 1ffbf2f..8e4f211 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
@@ -89,6 +89,7 @@ internal class MXRoyaleClasses
import mx.effects.Tween; Tween;
import mx.effects.Fade; Fade;
import mx.core.Container;Container;
+ import mx.core.ContainerGlobals; ContainerGlobals;
import mx.graphics.ImageSnapshot; ImageSnapshot;
import mx.system.ApplicationDomain; ApplicationDomain;
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/ContainerGlobals.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/ContainerGlobals.as
new file mode 100644
index 0000000..8a79e1b
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/ContainerGlobals.as
@@ -0,0 +1,42 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.core
+{
+
+//import flash.display.InteractiveObject;
+import mx.core.UIComponent;
+import mx.managers.IFocusManager;
+import mx.managers.IFocusManagerContainer;
+
+/**
+* @private
+*/
+public class ContainerGlobals
+{
+ /**
+ * @private
+ * Internal variable that keeps track of the container
+ * that currently has focus.
+ */
+ public static var focusedContainer:UIComponent;
+
+}
+}
+