Beispiel #1
0
 public void Remove(EditorControl control)
 {
     if (_children.Contains(control))
     {
         _children.Remove(control);
     }
 }
Beispiel #2
0
 public void AddChild(EditorControl control)
 {
     _children.Add(control);
 }
Beispiel #3
0
 public void UnSelect(EditorControl control)
 {
     control.Selected = false;
     _selection.Remove(control);
 }
Beispiel #4
0
 private void SetMouseOverControl(EditorControl control)
 {
     if (_mouseOverControl != control)
     {
         if (_mouseOverControl != null) _mouseOverControl.MouseLeave();
         _mouseOverControl = control;
         if (_mouseOverControl != null) _mouseOverControl.MouseEnter();
     }
 }
Beispiel #5
0
 public void Select(EditorControl control)
 {
     control.Selected = true;
     _selection.Add(control);
 }