コード例 #1
0
ファイル: UIElement.cs プロジェクト: GLugia/VisualBoy
 public virtual void LeftDown(UIMouseEvent evt)
 {
     OnLeftDown?.Invoke(evt, this);
     Parent?.LeftDown(evt);
 }
コード例 #2
0
 public virtual void LeftMouseDown(UIMouseEventArgs e)
 {
     IsLeftDown = true;
     OnLeftDown?.Invoke(this, e);
     Parent?.LeftMouseDown(e);
 }