Beispiel #1
0
 public override void Draw()
 {
     base.Draw();
     foreach (MyGuiControlBase control in Controls.GetList())
     {
         if (control is MyGuiControlListboxDragAndDrop)
         {
             MyGuiControlListboxDragAndDrop tempDragAndDrop = (MyGuiControlListboxDragAndDrop)control;
             if (tempDragAndDrop.IsActive())
             {
                 continue;
             }
         }
         if (control is MyGuiControlCombobox)
         {
             MyGuiControlCombobox tempCombobox = (MyGuiControlCombobox)control;
             if (tempCombobox.IsHandlingInputNow() == true)
             {
                 continue;
             }
         }
         if (control.Visible)
         {
             control.Draw();
         }
     }
 }
Beispiel #2
0
 public IList <MyGuiControlBase> GetList()
 {
     return(m_controls.GetList());
 }