forked from siketyan/Osuplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettingsWindow.xaml
42 lines (37 loc) · 2.27 KB
/
SettingsWindow.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
<Window x:Class="osu_Player.SettingsWindow"
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"
mc:Ignorable="d" Style="{StaticResource ToolWindowStyle}"
Title="Settings - osu! Player" Height="247" Width="360" WindowStartupLocation="CenterOwner"
ResizeMode="NoResize" FontFamily="Yu Gothic UI, Meiryo UI">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="26" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid Grid.Row="0" Background="#FF66AA">
<DockPanel Margin="5,2" LastChildFill="False">
<Label FontFamily="Resources/#FontAwesome" Foreground="White"></Label>
<Label Foreground="White" Padding="3,3,0,0">Settings - osu! Player</Label>
<Button Template="{StaticResource WindowControlButtonTemplate}" Click="CloseWindowAsync"
WindowChrome.IsHitTestVisibleInChrome="True" Cursor="Hand" DockPanel.Dock="Right">r</Button>
</DockPanel>
</Grid>
<StackPanel Grid.Row="1" Margin="15,10">
<Label>osu! フォルダのパス</Label>
<DockPanel>
<Button DockPanel.Dock="Right" Background="Transparent" BorderBrush="#CCC"
Padding="5,1" Margin="0,0,0,0" Click="OpenFolderDialog">...</Button>
<TextBox x:Name="OsuPath" DockPanel.Dock="Right" />
</DockPanel>
<Label Margin="0,10,0,0">使用するオーディオデバイス</Label>
<ComboBox x:Name="AudioDevice" />
<CheckBox x:Name="UseAnimation" Margin="0,15,0,4">起動及び終了時にアニメーションを使う</CheckBox>
<CheckBox x:Name="UseSplashScreen">起動時にスプラッシュスクリーンを表示して曲の読み込みを行う</CheckBox>
<Button Margin="0,15,0,0" Height="25" Background="Transparent"
BorderBrush="#CCC" Click="OpenDisabledSongs">非表示している曲の管理</Button>
</StackPanel>
</Grid>
</Window>