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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user