markus / MarkupToPDF / Common / Undo_data.cs @ 1f112f94
1 | 787a4489 | KangIngu | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Windows; |
||
4 | using System.IO; |
||
5 | using System.Linq; |
||
6 | using System.Text; |
||
7 | using System.Windows.Media; |
||
8 | |||
9 | namespace MarkupToPDF.Common |
||
10 | { |
||
11 | b79d6e7f | humkyung | public class UndoData |
12 | 787a4489 | KangIngu | { |
13 | 19d602e0 | humkyung | public UndoData(CommentUserInfo markup) |
14 | { |
||
15 | Markup = markup; |
||
16 | } |
||
17 | |||
18 | 873011c4 | humkyung | public CommentUserInfo Markup { get; set; } |
19 | public CommentUserInfo Clone { get; set; } |
||
20 | public List<Point> PointSet { get; set; } |
||
21 | public double Angle { get; set; } |
||
22 | 787a4489 | KangIngu | } |
23 | |||
24 | 873011c4 | humkyung | public class UndoDataGroup |
25 | 787a4489 | KangIngu | { |
26 | 02a9f323 | humkyung | public UndoDataGroup() |
27 | { |
||
28 | EventTime = DateTime.Now; |
||
29 | } |
||
30 | |||
31 | 873011c4 | humkyung | public EventType Event { get; set; } |
32 | 02a9f323 | humkyung | public List<UndoData> MarkupDataColl { get; } = new List<UndoData>(); |
33 | 873011c4 | humkyung | public bool IsUndo { get; set; } |
34 | public DateTime EventTime { get; set; } |
||
35 | public MarkupToPDF.Controls.Common.PaintSet paint { get; set; } |
||
36 | 787a4489 | KangIngu | } |
37 | |||
38 | 873011c4 | humkyung | public enum EventType |
39 | 787a4489 | KangIngu | { |
40 | Create, |
||
41 | 873011c4 | humkyung | Delete, |
42 | Operation |
||
43 | 787a4489 | KangIngu | } |
44 | } |