Example #1
0
 public void Init(hglWorkHead xw, hglParseStyleSheet styleSheet, hglResourceMan resman, hglWindowInfo wininfo)
 {
     m_hglWork    = xw;
     m_styleSheet = styleSheet;
     m_resman     = resman;
     m_winInfo    = wininfo;
     RegisterAll();
 }
Example #2
0
        public void Init(hglWorkBody xw, hglParseStyleSheet styleSheet, hglWindowInfo winInfo, hglRender hren, hglResourceMan resman)
        {
            m_hglWork    = xw;
            m_styleSheet = styleSheet;
            m_htmlRender = hren;
            m_info       = winInfo;
            m_resman     = resman;
            m_hglForm    = null;

            m_htmlRender.CreateRootBlock(winInfo.m_fixedWidth, float.MaxValue);

            RegisterAll();
        }
Example #3
0
    public override void  OnInspectorGUI()
    {
        hglResourceMan rm = (hglResourceMan)target;

        if (rm.m_table != null)
        {
            string dt = "";
            foreach (var k in rm.m_table.Keys)
            {
                var fd = (hglResourceMan.FILEDATA)rm.m_table[k];
                if (fd != null)
                {
                    dt += string.Format("{0}\n", fd.fullname);
                }
            }
            EditorGUILayout.TextArea(dt);
        }
    }