Skip to content

Commit

Permalink
Add song list help dialog. Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeoliphant committed May 24, 2024
1 parent a2363ac commit fb11d2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ChartPlayerShared/HelpDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public HelpDialog(UIElement helpElement)
ChildSpacing = 20
};

contents.Children.Add(new TextBlock("ChartPlayer v0.1.2\nCopyright (c) 2024 Mike Oliphant"));
contents.Children.Add(new TextBlock("ChartPlayer v0.1.3\nCopyright (c) 2024 Mike Oliphant"));

contents.Children.Add(helpElement);

Expand Down
8 changes: 8 additions & 0 deletions ChartPlayerShared/SongListInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ public SongListDisplay()
buttonInputStack.AddInput(new DialogInput { Text = "Bass", Action = delegate { SetCurrentInstrument(ESongInstrumentType.BassGuitar); } });
//buttonInputStack.AddInput(new DialogInput { Text = "Keys", Action = delegate { SetCurrentInstrument(ESongInstrumentType.Keys); } });
buttonInputStack.AddInput(new DialogInput { Text = "ReScan", Action = delegate { SongPlayerInterface.Instance.RescanSongIndex(); } });
buttonInputStack.AddInput(new DialogInput
{
Text = "?",
Action = delegate
{
Layout.Current.ShowPopup(new HelpDialog(new TextBlock("Click to select song.\n\nDrag to scroll, or use arrow keys and page up/down.\n\nClick column titles to sort.")));
}
});
buttonInputStack.AddInput(new DialogInput { Text = "Close", Action = Close });

SongList.SetSortColumn("Artist");
Expand Down

0 comments on commit fb11d2b

Please sign in to comment.