프로젝트

일반

사용자정보

개정판 873011c4

ID873011c45de2dc9166fab8ef8a85a0fa394a0d84
상위 47048310
하위 37eadd3f

백흠경이(가) 9달 전에 추가함

Fix: Undo/Redo 수정 진행

Change-Id: I3392d0ebc877626804a7c5d139d0b31a1942df7d

차이점 보기:

MarkupToPDF/Common/Undo_data.cs
8 8

  
9 9
namespace MarkupToPDF.Common
10 10
{
11
    //public class Undo_data : CommentUserInfo
12
    public class Undo_data
11
    public class Multi_UndoData
13 12
    {
14
        public Event_Type Event { get; set; }
15
        public List<Multi_Undo_data> Markup_List { get; set; }
16
        public bool IsUndo { get; set; }
17
        public DateTime EventTime { get; set; }
13
        public CommentUserInfo Markup { get; set; }
14
        public CommentUserInfo Clone { get; set; }
15
        public List<Point> PointSet { get; set; }
18 16
        public double LineSize { get; set; }
19
        public double Interval { get; set; }
20 17
        public DoubleCollection DashSize { get; set; }
21 18
        public Double Opacity { get; set; }
22
        public MarkupToPDF.Controls.Common.PaintSet paint { get; set; }
23

  
24
        //public CommentUserInfo Markup { get; set; }
25
        //public List<CommentUserInfo> MarkupList { get; set; }
26
        //public bool IsAdorner { get; set; }
27
        //public bool IsUndo { get; set; }
28
        //public DateTime EventTime { get; set; }
29
        //public Event_Type Event { get; set; }
30
        //public List<Point> PointSet { get; set; }
31
        //public double Angle { get; set; }
19
        public Controls.Common.PaintSet paint { get; set; }
20
        public double Angle { get; set; }
32 21
    }
33 22

  
34
    public class Multi_Undo_data
23
    public class UndoDataGroup
35 24
    {
36
        public CommentUserInfo Markup { get; set; }
37
        public List<Point> PointSet { get; set; }
25
        public EventType Event { get; set; }
26
        public List<Multi_UndoData> MarkupDataColl { get; set; }
27
        public bool IsUndo { get; set; }
28
        public DateTime EventTime { get; set; }
38 29
        public double LineSize { get; set; }
30
        public double Interval { get; set; }
39 31
        public DoubleCollection DashSize { get; set; }
40 32
        public Double Opacity { get; set; }
41
        public Controls.Common.PaintSet paint { get; set; }
42
        public double Angle { get; set; }
33
        public MarkupToPDF.Controls.Common.PaintSet paint { get; set; }
43 34
    }
44 35

  
45
    public enum Event_Type
36
    public enum EventType
46 37
    {
47 38
        Create,
48
        Select,
49
        Option,
50
        Thumb,
51
        //Move,
52
        //Rotate,
53
        //Resize,
54
        Delete
39
        Delete,
40
        Operation
55 41
    }
56 42
}

내보내기 Unified diff

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