-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
54 lines (52 loc) · 12.1 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:FGH3ChartBrowser"
x:Name="MainWin" x:Class="FGH3ChartBrowser.MainWindow"
mc:Ignorable="d"
Title="FastGH3 Chart Browser" Height="610" Width="800" ResizeMode="CanMinimize" Icon="/icon.png" Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
<Window.Resources>
</Window.Resources>
<Grid Margin="0,0,10,10">
<Label Content="FastGH3 path:" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="26" Width="84" Background="{x:Null}"/>
<TextBox x:Name="FGH3_Path_TxtBox" HorizontalAlignment="Left" Margin="104,14,0,0" Text="C:\Program Files (x86)\FastGH3\FastGH3.exe" VerticalAlignment="Top" Width="261" Height="18" Foreground="Black"/>
<Button x:Name="GH3PathBrowseBtn" Content="Browse for FastGH3.exe" HorizontalAlignment="Left" Margin="370,13,0,0" VerticalAlignment="Top" Width="151" Click="GH3PathBrowseBtn_Click" Height="20" Foreground="Black"/>
<Label Content="Charts folder:" HorizontalAlignment="Left" Margin="10,36,0,0" VerticalAlignment="Top" Height="26" Width="81" Foreground="Black"/>
<TextBox x:Name="Chart_Folder_TxtBox" HorizontalAlignment="Left" Margin="104,40,0,0" VerticalAlignment="Top" Width="261" Height="18" Foreground="Black"/>
<Button x:Name="ChartsPathBrowseBtn" Content="Browse for Folder" HorizontalAlignment="Left" Margin="370,39,0,0" VerticalAlignment="Top" Width="151" Click="ChartsPathBrowseBtn_Click" Height="20" Foreground="Black"/>
<Button x:Name="ScanChartsBtn" Content="Scan Songs" HorizontalAlignment="Left" Margin="531,13,0,0" VerticalAlignment="Top" FontSize="21" Click="ScanChartsBtn_Click" Height="46" Width="245" Foreground="Black"/>
<TextBox x:Name="SearchTxtBox" HorizontalAlignment="Left" Margin="129,67,0,0" VerticalAlignment="Top" Width="392" FontSize="18" VerticalContentAlignment="Center" TextChanged="SearchTxtBox_TextChanged" Foreground="Black"/>
<Button x:Name="PlaySongBtn" Content="Play Song" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="28" RenderTransformOrigin="0.5,0.5" Click="PlaySongBtn_Click" Margin="246,499,0,0" Height="59" Width="530" Background="#FFDDDDDD"/>
<DataGrid x:Name="SongsDataGrid" d:ItemsSource="{d:SampleData ItemCount=5}" Margin="245,102,0,0" AutoGenerateColumns="False" Height="232" IsReadOnly="True" Width="531" HorizontalAlignment="Left" VerticalAlignment="Top" ScrollViewer.CanContentScroll="True" ScrollViewer.VerticalScrollBarVisibility="Visible" SelectionMode="Single" ScrollViewer.HorizontalScrollBarVisibility="Visible" RowHeaderWidth="0" SelectionChanged="SongsDataGrid_SelectionChanged" MouseDoubleClick="SongsDataGrid_MouseDoubleClick" Foreground="Black">
<DataGrid.Columns>
<DataGridTextColumn x:Name="ArtistColumn" Header="Artist" Binding="{Binding Artist}" MaxWidth="180"/>
<DataGridTextColumn x:Name="TitleColumn" Header="Title" Binding="{Binding Title}" MaxWidth="300"/>
<DataGridTextColumn Header="Album" MaxWidth="180" Binding="{Binding Album}"/>
<DataGridTextColumn Header="Genre" Binding="{Binding Genre}"/>
<DataGridTextColumn x:Name="CharterColumn" Header="Charter" Binding="{Binding Charter}" MaxWidth="150"/>
<DataGridTextColumn x:Name="ChartPathColumn" Header="Path to Chart" Binding="{Binding Path}" MinWidth="800" />
</DataGrid.Columns>
</DataGrid>
<Label Content="Filter Songs:" HorizontalAlignment="Left" Margin="10,63,0,0" VerticalAlignment="Top" FontSize="18" Foreground="Black"/>
<ProgressBar x:Name="ScanProgressBar" HorizontalAlignment="Left" Height="26" Margin="531,67,0,0" VerticalAlignment="Top" Width="245" Foreground="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" Value="69"/>
<Button x:Name="FGH3SettingsBtn" Content="Open FastGH3 Settings" HorizontalAlignment="Left" Margin="11,533,0,0" VerticalAlignment="Top" Width="224" Height="25" Click="FGH3SettingsBtn_Click"/>
<Rectangle HorizontalAlignment="Left" Height="224" Margin="11,110,0,0" VerticalAlignment="Top" Width="224" Fill="#33000000"/>
<Rectangle x:Name="AlbumRect" HorizontalAlignment="Left" Height="224" Margin="11,110,0,0" VerticalAlignment="Top" Width="224"/>
<TextBlock x:Name="LoadingPhraseTxt" Margin="256,375,26,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="96" TextTrimming="WordEllipsis" TextAlignment="Center" Text="Lorem ipsum odor amet, consectetuer adipiscing elit. Ligula sodales eros malesuada a nulla inceptos. Et phasellus volutpat dictum torquent pulvinar felis tempor ultricies fringilla. Nec parturient nunc leo; nostra fermentum etiam class. Tempor pharetra sapien metus at sagittis magnis. Faucibus fermentum efficitur commodo maecenas molestie facilisis. Felis rutrum litora aenean phasellus donec. Est suscipit luctus dictum conubia fringilla. Pulvinar erat proin justo sit ridiculus. Felis mollis sagittis consectetur accumsan quis curabitur; lacus erat. Lacus iaculis gravida leo urna at pharetra tincidunt. Consequat imperdiet ad, rhoncus ac neque bibendum inceptos ultrices. Phasellus senectus etiam semper at fringilla imperdiet nisl ipsum nulla. Enim vehicula egestas fames curabitur mollis lobortis integer sem." Foreground="Black"/>
<Label x:Name="SongTitleTxt" Content="Lorem ipsum odor amet, consectetuer adipiscing elit. Ligula sodales eros malesuada a nulla inceptos. Et phasellus volutpat dictum torquent pulvinar felis tempor ultricies fringilla. Nec parturient nunc leo; nostra fermentum etiam class. Tempor pharetra sapien metus at sagittis magnis. Faucibus fermentum efficitur commodo maecenas molestie facilisis. Felis rutrum litora aenean phasellus donec. Est suscipit luctus dictum conubia fringilla. Pulvinar erat proin justo sit ridiculus. Felis mollis sagittis consectetur accumsan quis curabitur; lacus erat. Lacus iaculis gravida leo urna at pharetra tincidunt. Consequat imperdiet ad, rhoncus ac neque bibendum inceptos ultrices. Phasellus senectus etiam semper at fringilla imperdiet nisl ipsum nulla. Enim vehicula egestas fames curabitur mollis lobortis integer sem." HorizontalAlignment="Left" Margin="246,339,0,0" VerticalAlignment="Top" FontSize="16" HorizontalContentAlignment="Center" Width="530" Foreground="Black"/>
<Button x:Name="AlbumClickBtn" Content="you aren't supposed to see this" HorizontalAlignment="Left" Margin="13,113,0,0" VerticalAlignment="Top" Height="221" Width="221" Click="AlbumClick" ScrollViewer.VerticalScrollBarVisibility="Disabled" Opacity="0"/>
<Button x:Name="OpenInExplorerBtn" Content="Open Song in Explorer" HorizontalAlignment="Left" Margin="11,499,0,0" VerticalAlignment="Top" Width="224" Height="25" Click="OpenInExplorerBtn_Click"/>
<TextBlock x:Name="ArtistTxt" HorizontalAlignment="Left" Margin="10,344,0,0" TextWrapping="Wrap" Text="Lorem ipsum odor amet, consectetuer adipiscing elit. Ligula sodales eros malesuada a nulla inceptos. Et phasellus volutpat dictum torquent pulvinar felis tempor ultricies fringilla. Nec parturient nunc leo; nostra fermentum etiam class. Tempor pharetra sapien metus at sagittis magnis. Faucibus fermentum efficitur commodo maecenas molestie facilisis. Felis rutrum litora aenean phasellus donec. Est suscipit luctus dictum conubia fringilla. Pulvinar erat proin justo sit ridiculus. Felis mollis sagittis consectetur accumsan quis curabitur; lacus erat. Lacus iaculis gravida leo urna at pharetra tincidunt. Consequat imperdiet ad, rhoncus ac neque bibendum inceptos ultrices. Phasellus senectus etiam semper at fringilla imperdiet nisl ipsum nulla. Enim vehicula egestas fames curabitur mollis lobortis integer sem." VerticalAlignment="Top" Width="223" FontSize="16" FontWeight="SemiBold" TextAlignment="Center" Height="44" MaxHeight="44" TextTrimming="CharacterEllipsis" Foreground="Black"/>
<TextBlock x:Name="AlbumTxt" Text="Album: Lorem ipsum odor amet, consectetuer adipiscing elit. Ligula sodales eros malesuada a nulla inceptos. Et phasellus volutpat dictum torquent pulvinar felis tempor ultricies fringilla. Nec parturient nunc leo; nostra fermentum etiam class. Tempor pharetra sapien metus at sagittis magnis. Faucibus fermentum efficitur commodo maecenas molestie facilisis. Felis rutrum litora aenean phasellus donec. Est suscipit luctus dictum conubia fringilla. Pulvinar erat proin justo sit ridiculus. Felis mollis sagittis consectetur accumsan quis curabitur; lacus erat. Lacus iaculis gravida leo urna at pharetra tincidunt. Consequat imperdiet ad, rhoncus ac neque bibendum inceptos ultrices. Phasellus senectus etiam semper at fringilla imperdiet nisl ipsum nulla. Enim vehicula egestas fames curabitur mollis lobortis integer sem." HorizontalAlignment="Left" Margin="10,394,0,0" VerticalAlignment="Top" Width="221" TextTrimming="CharacterEllipsis" Foreground="Black"/>
<Label x:Name="YearTxt" Content="Year: 42069" HorizontalAlignment="Left" Margin="172,408,0,0" VerticalAlignment="Top" Width="75" Foreground="Black"/>
<TextBlock x:Name="GenreTxt" Text="Genre: Lorem ipsum odor amet, consectetuer adipiscing elit. Ligula sodales eros malesuada a nulla inceptos. Et phasellus volutpat dictum torquent pulvinar felis tempor ultricies fringilla. Nec parturient nunc leo; nostra fermentum etiam class. Tempor pharetra sapien metus at sagittis magnis. Faucibus fermentum efficitur commodo maecenas molestie facilisis. Felis rutrum litora aenean phasellus donec. Est suscipit luctus dictum conubia fringilla. Pulvinar erat proin justo sit ridiculus. Felis mollis sagittis consectetur accumsan quis curabitur; lacus erat. Lacus iaculis gravida leo urna at pharetra tincidunt. Consequat imperdiet ad, rhoncus ac neque bibendum inceptos ultrices. Phasellus senectus etiam semper at fringilla imperdiet nisl ipsum nulla. Enim vehicula egestas fames curabitur mollis lobortis integer sem." HorizontalAlignment="Left" Margin="10,413,0,0" VerticalAlignment="Top" Width="157" TextTrimming="CharacterEllipsis" Foreground="Black"/>
<Label x:Name="LeadDiffTxt" Content="Lead Intensity: 99+" HorizontalAlignment="Left" Margin="10,449,0,0" VerticalAlignment="Top" Width="114" Foreground="Black"/>
<Label x:Name="BassDiffTxt" Content="Bass Intensity: 99+" HorizontalAlignment="Left" Margin="12,469,0,0" VerticalAlignment="Top" Width="112" Foreground="Black"/>
<Label x:Name="LeadStarsTxt" Content="★★★★★★★★★+" HorizontalAlignment="Left" Margin="118,448,0,0" VerticalAlignment="Top" FontSize="13" Foreground="Black"/>
<Label x:Name="BassStarsTxt" Content="★★★★★★★★★+" HorizontalAlignment="Left" Margin="118,468,0,0" VerticalAlignment="Top" FontSize="13"/>
<TextBlock x:Name="ScanProgressTxt" HorizontalAlignment="Left" Margin="536,72,0,0" TextWrapping="Wrap" Text="Click "Scan Songs" to find songs!" VerticalAlignment="Top" Width="235" TextAlignment="Center"/>
<TextBlock x:Name="CharterTxt" Text="Charter: Lorem ipsum odor amet, consectetuer adipiscing elit. Ligula sodales eros malesuada a nulla inceptos. Et phasellus volutpat dictum torquent pulvinar felis tempor ultricies fringilla. Nec parturient nunc leo; nostra fermentum etiam class. Tempor pharetra sapien metus at sagittis magnis. Faucibus fermentum efficitur commodo maecenas molestie facilisis. Felis rutrum litora aenean phasellus donec. Est suscipit luctus dictum conubia fringilla. Pulvinar erat proin justo sit ridiculus. Felis mollis sagittis consectetur accumsan quis curabitur; lacus erat. Lacus iaculis gravida leo urna at pharetra tincidunt. Consequat imperdiet ad, rhoncus ac neque bibendum inceptos ultrices. Phasellus senectus etiam semper at fringilla imperdiet nisl ipsum nulla. Enim vehicula egestas fames curabitur mollis lobortis integer sem." HorizontalAlignment="Left" Margin="11,433,0,0" VerticalAlignment="Top" Width="224" TextTrimming="CharacterEllipsis" Foreground="Black"/>
</Grid>
</Window>