Skip to content

Commit

Permalink
1.6.1.0
Browse files Browse the repository at this point in the history
Pixel Window drag drop support.
  • Loading branch information
bbbradsmith committed Oct 13, 2024
1 parent d27e1c0 commit 03c98a8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions BinxelviewForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2610,13 +2610,13 @@ protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
return base.ProcessCmdKey(ref msg, keyData);
}

private void BinxelviewForm_DragDrop(object sender, DragEventArgs e)
public void BinxelviewForm_DragDrop(object sender, DragEventArgs e)
{
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop, false);
foreach (string file in files) openFile(file);
}

private void BinxelviewForm_DragEnter(object sender, DragEventArgs e)
public void BinxelviewForm_DragEnter(object sender, DragEventArgs e)
{
e.Effect = (e.Data.GetDataPresent(DataFormats.FileDrop)) ?
DragDropEffects.Copy : DragDropEffects.None;
Expand Down
2 changes: 2 additions & 0 deletions Dialogs/ViewForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Dialogs/ViewForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,15 @@ protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
if (binxelview_form.handleHotkeys(ref msg,keyData)) return true;
return base.ProcessCmdKey(ref msg, keyData);
}

private void ViewForm_DragDrop(object sender, DragEventArgs e)
{
binxelview_form.BinxelviewForm_DragDrop(sender, e);
}

private void ViewForm_DragEnter(object sender, DragEventArgs e)
{
binxelview_form.BinxelviewForm_DragEnter(sender, e);
}
}
}
7 changes: 2 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Binxelview binary image explorer

Version 1.6.0.0
Version 1.6.1.0
2024-10-13
Brad Smith et al.

Expand Down Expand Up @@ -275,10 +275,7 @@ a specific INI setup.
Changes
-------

1.6.1.0 (unreleased beta)
- No changes yet.

1.6.0.0 (2024-10-13)
1.6.1.0 (2024-10-13)
- Option persistence, INI file save and load.
- Command line arguments for options.
- Pixel window option for second viewing window.
Expand Down

0 comments on commit 03c98a8

Please sign in to comment.