Ejemplo n.º 1
0
        public new static void Parse(XNode node, DefinitionFile file)
        {
            UiBorder.Parse(node, file);

            DefinitionParser parser = new DefinitionParser(node);

            file["TouchOutsideToHide"] = parser.ParseBoolean("TouchOutsideToHide");
            file["ClickOutside"]       = parser.ParseDelegate("ClickOutside");
        }
Ejemplo n.º 2
0
        public new static void Parse(XNode node, DefinitionFile file)
        {
            UiBorder.Parse(node, file);

            var parser = new DefinitionParser(node);

            file["ExpandedWidth"]  = parser.ParseLength("ExpandedWidth");
            file["ExpandedHeight"] = parser.ParseLength("ExpandedHeight");
            file["ExpandTime"]     = parser.ParseInt("ExpandTime");
            file["Expanded"]       = parser.ParseBoolean("Expanded");

            file["CollapseFinished"] = parser.ParseDelegate("CollapseFinished");
            file["ExpandFinished"]   = parser.ParseDelegate("ExpandFinished");
        }