Exemple #1
0
        public new static void Parse(XNode node, DefinitionFile file)
        {
            UiEditBoxBase.Parse(node, file);

            var parser = new DefinitionParser(node);

            file["NativeInputMargin"] = parser.ParseMargin("NativeInputMargin");

            file["NativeInputAlign"]    = parser.ParseEnum <Align>("NativeInputAlign");
            file["NativeInputFontSize"] = parser.ParseInt("NativeInputFontSize");
        }
        public new static void Parse(XNode node, DefinitionFile file)
        {
            UiEditBoxBase.Parse(node, file);

            var parser = new DefinitionParser(node);

            file["NativeInputMargin"] = parser.ParseMargin("NativeInputMargin");
            file["NativeInputAlign"]  = parser.ParseEnum <Align>("NativeInputAlign");

                        #if __IOS__
            file["NativeInputFontSize"] = parser.ParseInt("iOS.NativeInputFontSize");
                        #elif __ANDROID__
            file["NativeInputFontSize"] = parser.ParseInt("Android.NativeInputFontSize");
                        #elif __WINDOWSPHONE__
            file["NativeInputFontSize"] = parser.ParseInt("WindowsPhone.NativeInputFontSize");
                        #elif __WINRT__
            file["NativeInputFontSize"] = parser.ParseInt("WindowsRT.NativeInputFontSize");
                        #endif
        }
Exemple #3
0
 public new static void Parse(XNode node, DefinitionFile file)
 {
     UiEditBoxBase.Parse(node, file);
 }