You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pe...@apache.org on 2018/03/12 20:45:14 UTC

[royale-asjs] branch feature/MXRoyale updated: MXRoyale compiles without errors or warnings.

This is an automated email from the ASF dual-hosted git repository.

pent pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
     new 3cb91f4  MXRoyale compiles without errors or warnings.
3cb91f4 is described below

commit 3cb91f44962075db203e105fdb4f7542a72ebe58
Author: Peter Ent <pe...@apache.org>
AuthorDate: Mon Mar 12 16:45:10 2018 -0400

    MXRoyale compiles without errors or warnings.
---
 .../MXRoyale/src/main/resources/defaults.css       | 39 ++++++++++++++++++++++
 .../MXRoyale/src/main/royale/mx/controls/Button.as | 12 ++++++-
 .../src/main/royale/mx/core/Application.as         |  2 ++
 3 files changed, 52 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/MXRoyale/src/main/resources/defaults.css b/frameworks/projects/MXRoyale/src/main/resources/defaults.css
new file mode 100644
index 0000000..bcc7fff
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/resources/defaults.css
@@ -0,0 +1,39 @@
+/*
+*
+*  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.
+*
+*/
+
+@namespace "library://ns.apache.org/royale/mx";
+
+.royale *, . royale *:before, . royale *:after {
+	-moz-box-sizing: border-box;
+	-webkit-box-sizing: border-box;
+	box-sizing: border-box;
+}
+
+
+@media -royale-swf
+{
+	/* Global style declaration for Flash only.  This will effectively be the same
+	   as the browser defaults */
+	Label
+	{
+		IBeadModel: ClassReference("org.apache.royale.html.beads.models.TextModel");
+		IBeadView: ClassReference("org.apache.royale.html.beads.TextFieldView");
+		iMeasurementBead: ClassReference("org.apache.royale.html.beads.TextFieldLabelMeasurementBead");
+	}
+}
\ No newline at end of file
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
index 3e61b4f..af2cf11 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
@@ -758,7 +758,17 @@ public class Button extends UIComponent
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var selectedField:String = null;
+	private var _selectedField:String = null;
+	
+	public function get selectedField():String
+	{
+		return _selectedField;
+	}
+	
+	public function set selectedField(value:String):void
+	{
+		_selectedField = value;
+	}
 
 
     //----------------------------------
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
index 6136bec3..cee6363 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
@@ -273,6 +273,8 @@ public class Application extends org.apache.royale.express.Application
     //  Variables
     //
     //--------------------------------------------------------------------------
+	
+	private var instanceParent:mx.core.Application;
 
     /**
      *  @private

-- 
To stop receiving notification emails like this one, please contact
pent@apache.org.