功能更新

This commit is contained in:
GG Z
2026-02-12 21:29:00 +08:00
parent a9faf251be
commit 5f1adc5ad2
341 changed files with 4293 additions and 1874 deletions

View File

@@ -27,8 +27,8 @@ namespace ShrlAlgoStudio
_systemFontDict = fontDict;
}
public string OriginalFont { get; init; }
public string OriginalStyle { get; init; }
public string OriginalFont { get; set; }
public string OriginalStyle { get; set; }
private string newFont;
public string NewFont
@@ -99,7 +99,7 @@ namespace ShrlAlgoStudio
protected void OnPropertyChanged(string name) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
}
public partial class MainWindow
public partial class DrfxFontFixer
{
public ObservableCollection<FullMapping> FullMappings { get; set; } = new ObservableCollection<FullMapping>();
public List<string> SystemFonts { get; set; } = new List<string>();
@@ -107,7 +107,7 @@ namespace ShrlAlgoStudio
private bool isProcessingComplete = false;
private string lastOutputDirectory = "";
public MainWindow()
public DrfxFontFixer()
{
InitializeComponent();
this.DataContext = this;
@@ -582,13 +582,13 @@ namespace ShrlAlgoStudio
private void BrowserOutputPathButton_Click(object sender, RoutedEventArgs e)
{
var dlg = new OpenFolderDialog()
var dlg = new VistaFolderBrowserDialog()
{
Title = "选择输出目录",
Multiselect=false
};
if (dlg.ShowDialog()== true)
{
OutputPath.Text = dlg.FolderName;
OutputPath.Text = dlg.SelectedPath;
}
}
}