This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch feature/distribution-allignment in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 7594d12b0c209fd76e82eacaaa34ddc49380eecf Author: alinakazi <[email protected]> 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; + +} +} +
