Skip to content

Commit f393469

Browse files
authored
Add files via upload
1 parent 9b45ca5 commit f393469

9 files changed

Lines changed: 669 additions & 492 deletions

Main/AppConfig.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace ShowWrite.Models
66
public class AppConfig
77
{
88
public int CameraIndex { get; set; } = 0;
9-
public List<System.Drawing.PointF>? CorrectionPoints { get; set; }
9+
public List<IntPoint>? CorrectionPoints { get; set; } // 改为使用 AForge.IntPoint
1010
public int SourceWidth { get; set; }
1111
public int SourceHeight { get; set; }
1212

@@ -16,9 +16,7 @@ public class AppConfig
1616
public double DefaultPenWidth { get; set; } = 2.0;
1717
public string DefaultPenColor { get; set; } = "#FF0000FF"; // 蓝色
1818
public bool EnableHardwareAcceleration { get; set; } = true;
19-
public bool EnableFrameProcessing { get; set; } = false; // 新增
20-
public int FrameRateLimit { get; set; } = 2; // 对应ComboBox索引
19+
public bool EnableFrameProcessing { get; set; } = false;
20+
public int FrameRateLimit { get; set; } = 2;
2121
}
22-
23-
24-
}
22+
}

Main/MainWindow.xaml

Lines changed: 182 additions & 199 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)