Beispiel #1
0
 /**
  *
  *  This method is called by code autogenerated by the MXML compiler,
  *  after StyleManager.styles is popuplated with CSSStyleDeclarations.
  */
 ///<summary>
 ///</summary>
 internal void InitProtoChainRoots()
 {
     //Debug.Log("### InitProtoChainRoots ###");
     if (null == _stylesRoot)
     {
         //_stylesRoot = _selectors["global"].AddStyleToProtoChain(new StyleTable(), null);
         StyleDeclaration style = GetMergedStyleDeclaration("global");
         if (style != null)
         {
             //Debug.Log("Global:::::: " + style);
             _stylesRoot = style.AddStyleToProtoChain(new StyleTable(), null);
         }
     }
 }