internal ActiveElementChanged(ClickableUIElement oldElement, ClickableUIElement newElement)
 {
     OldElement = oldElement;
     NewElement = newElement;
 }
 internal ActiveElementChanged(ClickableUIElement oldElement)
 {
     OldElement = oldElement;
     NewElement = ClickUI.None;
 }
Пример #3
0
 public void Add(ClickableUIElement element)
 {
     _elementLayer.Add(element);
 }
Пример #4
0
 public void Remove(ClickableUIElement element)
 {
     _elementLayer.Remove(element);
 }
 public OffsetClickableUIElement(ClickableUIElement element, Point offset)
     : base(new Rectangle(element.Area.Location + offset, element.Area.Size))
 {
     _element = element;
 }