예제 #1
0
 public virtual void AddDropDown(MenuItemInfo info, DistinctOptionInfo option)
 {
     int num = Items.Count;
     DropDownMenu item = new DropDownMenu (screen, ItemDisplayLayer, num, info);
     assignMenuItemInfo (ref info, num, item);
     item.AddEntries (option);
     Items.Add (item);
 }
예제 #2
0
 public virtual void AddDropDown(MenuItemInfo info, DropDownMenuItem[] items, DropDownMenuItem defaultItem)
 {
     int num = Items.Count;
     DropDownMenu item = new DropDownMenu (screen, ItemDisplayLayer, num, info);
     assignMenuItemInfo (ref info, num, item);
     item.AddEntries (items, defaultItem);
     Items.Add (item);
 }