예제 #1
0
 public void OnMouseUp(MousePosition position, LayoutModel layout, char cellType)
 {
 }
예제 #2
0
 public void OnMouseDrag(MousePosition position, LayoutModel layout, char cellType)
 {
     layout[position.CellIndex] = cellType;
 }
예제 #3
0
 public override void OnMouseUp(MousePosition position, LayoutModel layout, char cellType)
 {
     base.OnMouseUp(position, layout, cellType);
     layout.DrawEllipse(StartPosition.CellIndex, CurrentPosition.CellIndex, cellType);
 }
예제 #4
0
 public virtual void OnMouseDown(MousePosition position, LayoutModel layout, char cellType)
 {
     IsButtonPressed = true;
     StartPosition   = CurrentPosition = position;
     CellType        = cellType;
 }
예제 #5
0
 public override void OnMouseUp(MousePosition position, LayoutModel layout, char cellType)
 {
     base.OnMouseUp(position, layout, cellType);
     layout.DrawRectangle(StartPosition.CellIndex, position.CellIndex, cellType);
 }