개정판 5cbd5c21
issue #000 move hot key modify
KCOM/Events/Event_KeyEvent.cs | ||
---|---|---|
690 | 690 |
|
691 | 691 |
//강인구 추가 |
692 | 692 |
#region Control Move |
693 |
case Key.Right:
|
|
694 |
case Key.Left:
|
|
695 |
case Key.Up:
|
|
696 |
case Key.Down:
|
|
693 |
case Key.NumPad4:
|
|
694 |
case Key.NumPad5:
|
|
695 |
case Key.NumPad6:
|
|
696 |
case Key.NumPad8:
|
|
697 | 697 |
{ |
698 | 698 |
if(ViewerDataModel.Instance.IsPressShift) |
699 | 699 |
{ |
... | ... | |
704 | 704 |
|
705 | 705 |
switch (e.Key) |
706 | 706 |
{ |
707 |
case Key.Down:
|
|
707 |
case Key.NumPad5:
|
|
708 | 708 |
if (resultAngle == 0) control = new Point(control.X, control.Y + 5); |
709 | 709 |
if (resultAngle == 90) control = new Point(control.X + 5, control.Y); |
710 | 710 |
if (resultAngle == 180) control = new Point(control.X, control.Y - 5); |
711 | 711 |
if (resultAngle == 270) control = new Point(control.X - 5, control.Y); |
712 | 712 |
break; |
713 |
case Key.Up:
|
|
713 |
case Key.NumPad8:
|
|
714 | 714 |
if (resultAngle == 0) control = new Point(control.X, control.Y - 5); |
715 | 715 |
if (resultAngle == 90) control = new Point(control.X - 5, control.Y); |
716 | 716 |
if (resultAngle == 180) control = new Point(control.X, control.Y + 5); |
717 | 717 |
if (resultAngle == 270) control = new Point(control.X + 5, control.Y); |
718 | 718 |
break; |
719 |
case Key.Left:
|
|
719 |
case Key.NumPad4:
|
|
720 | 720 |
if (resultAngle == 0) control = new Point(control.X - 5, control.Y); |
721 | 721 |
if (resultAngle == 90) control = new Point(control.X, control.Y + 5); |
722 | 722 |
if (resultAngle == 180) control = new Point(control.X + 5, control.Y); |
723 | 723 |
if (resultAngle == 270) control = new Point(control.X, control.Y - 5); |
724 | 724 |
break; |
725 |
case Key.Right:
|
|
725 |
case Key.NumPad6:
|
|
726 | 726 |
if (resultAngle == 0) control = new Point(control.X + 5, control.Y); |
727 | 727 |
if (resultAngle == 90) control = new Point(control.X, control.Y - 5); |
728 | 728 |
if (resultAngle == 180) control = new Point(control.X - 5, control.Y); |
내보내기 Unified diff