Exemplo n.º 1
0
        public AlteratingListDrawer(ListOrientation orientation)
        {
            _orientation = orientation;

            gsAlterStyle = new GUIStyle();
            gsAlterStyle.normal.background = MakeTex(600, 1, GetAlternativeColor());
        }
Exemplo n.º 2
0
 public ListDrawer(IEnumerable <T> list, Func <T, IDrawer> CreateDrawerDelegate, ListOrientation orientation)
 {
     _listDrawer = new AlteratingListDrawer(orientation);
     foreach (var item in list)
     {
         _listDrawer.AddDrawer(CreateDrawerDelegate.Invoke(item));
     }
 }