1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-08-05 09:25:39 +00:00

Add file slicer tool

The tool allows you to cut a piece out of a file by specifying an
offset and a length.  A pair of hex dumps helps you verify that the
positions are correct.

Also, minor cleanups elsewhere.
This commit is contained in:
Andy McFadden
2019-12-29 17:59:35 -08:00
parent 89413d11e4
commit 1373ffd8e3
16 changed files with 619 additions and 70 deletions

View File

@@ -53,8 +53,7 @@ namespace SourceGen.WpfGui {
/// </summary>
private Formatter mFormatter;
// Dialog label text color, saved off at dialog load time.
private Brush mDefaultLabelColor;
private Brush mDefaultLabelColor = SystemColors.WindowTextBrush;
/// <summary>
/// Recursion guard.
@@ -146,8 +145,6 @@ namespace SourceGen.WpfGui {
}
private void Window_Loaded(object sender, RoutedEventArgs e) {
mDefaultLabelColor = maxLengthLabel.Foreground;
IsNonUniqueEnabled = IsLocalEnabled = IsGlobalEnabled = IsExportedEnabled = true;
if (LabelSym == null) {