프로젝트

일반

사용자정보

개정판 5cbd5c21

ID5cbd5c2161265b5b928ef40945154299b494f1c7
상위 16d13764
하위 24a3178d

김동진이(가) 약 6년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)