Example #1
0
        void InitStyles(Prototype pt, StylesList sl)
        {
            Style[] st = pt.InitStyles();

            for (int loop1 = 0; loop1 < st.Length; loop1++)
                if (sl.GetPos(st[loop1].name) == -1)
                    sl.Add(st[loop1]);
        }