mirror of
https://github.com/chibicitiberiu/drumkit.git
synced 2024-02-24 10:53:32 +00:00
176 lines
6.2 KiB
Plaintext
176 lines
6.2 KiB
Plaintext
|
<UserControl
|
||
|
x:Class="DrumKit.GeneralSettingsControl"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:local="using:DrumKit"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
mc:Ignorable="d"
|
||
|
d:DesignHeight="635.463"
|
||
|
d:DesignWidth="1075.987">
|
||
|
|
||
|
<Grid>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition />
|
||
|
<ColumnDefinition />
|
||
|
</Grid.ColumnDefinitions>
|
||
|
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
</Grid.RowDefinitions>
|
||
|
|
||
|
<Grid.Resources>
|
||
|
|
||
|
<Style x:Key="MyTitleTextStyle" TargetType="TextBlock" BasedOn="{StaticResource TitleTextStyle}">
|
||
|
<Setter Property="Margin" Value="20,24,2,2" />
|
||
|
<Setter Property="Foreground" Value="#59FFFF" />
|
||
|
</Style>
|
||
|
|
||
|
<Style x:Key="MyItemTextStyle" TargetType="TextBlock" BasedOn="{StaticResource ItemTextStyle}">
|
||
|
<Setter Property="Margin" Value="2,12,2,2" />
|
||
|
</Style>
|
||
|
|
||
|
</Grid.Resources>
|
||
|
|
||
|
<!-- About section -->
|
||
|
<TextBlock Style="{StaticResource MyTitleTextStyle}"
|
||
|
Grid.Row="0" Margin="20,4,2,2">
|
||
|
About</TextBlock>
|
||
|
|
||
|
<!-- About section: Website -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="1" Margin="2,12,2,2">
|
||
|
Drumkit website</TextBlock>
|
||
|
|
||
|
<Button Name="buttonWebsite"
|
||
|
Style="{StaticResource TextButtonStyle}"
|
||
|
Grid.Row="1" Grid.Column="1" VerticalAlignment="Bottom">
|
||
|
drumkit8.blogspot.com</Button>
|
||
|
|
||
|
<!-- About section: Support -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="2" Margin="2,12,2,2">
|
||
|
Support</TextBlock>
|
||
|
|
||
|
<Button Name="buttonSupport"
|
||
|
Style="{StaticResource TextButtonStyle}"
|
||
|
Grid.Row="2" Grid.Column="1" VerticalAlignment="Bottom">
|
||
|
chibicitiberiu@outlook.com</Button>
|
||
|
|
||
|
|
||
|
<!-- About section: Version -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="3" Margin="2,12,2,2">
|
||
|
Version</TextBlock>
|
||
|
|
||
|
<TextBlock Name="textVersion"
|
||
|
Grid.Row="3" Grid.Column="1" VerticalAlignment="Bottom"
|
||
|
Margin="0,2,2,2"
|
||
|
Style="{StaticResource BodyTextStyle}" >
|
||
|
1.0
|
||
|
</TextBlock>
|
||
|
|
||
|
|
||
|
<!-- Sound section -->
|
||
|
<TextBlock Style="{StaticResource MyTitleTextStyle}"
|
||
|
Grid.Row="6">
|
||
|
Sound</TextBlock>
|
||
|
|
||
|
<!-- Sound section: Master volume -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="7" Margin="2,7,2,2">
|
||
|
Master volume</TextBlock>
|
||
|
|
||
|
<Slider Name="masterVolumeSlider"
|
||
|
Grid.Row="7" Grid.Column="1"
|
||
|
Minimum="0" Maximum="100"
|
||
|
StepFrequency="1"
|
||
|
SmallChange=".05" LargeChange=".2"
|
||
|
Width="100" Height="48"
|
||
|
HorizontalAlignment="Left"/>
|
||
|
|
||
|
<!-- Sound section: Polyphony -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="8" Margin="2,7,2,2">
|
||
|
Polyphony*</TextBlock>
|
||
|
|
||
|
<Slider Name="polyphonySlider"
|
||
|
Grid.Row="8" Grid.Column="1"
|
||
|
Minimum="1" Maximum="256"
|
||
|
StepFrequency="1"
|
||
|
SmallChange="1" LargeChange="5"
|
||
|
Width="100" Height="48"
|
||
|
HorizontalAlignment="Left"/>
|
||
|
|
||
|
<!-- Interface section -->
|
||
|
<TextBlock Style="{StaticResource MyTitleTextStyle}"
|
||
|
Grid.Row="9">
|
||
|
Interface</TextBlock>
|
||
|
|
||
|
<!-- Interface section: Animations -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="10" Margin="2,12,2,2">
|
||
|
Animations</TextBlock>
|
||
|
|
||
|
<ToggleSwitch Name="animationsToggle"
|
||
|
Grid.Row="10" Grid.Column="1"/>
|
||
|
|
||
|
<!-- Interface section: Key bindings -->
|
||
|
<!--<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="11" Margin="2,12,2,2">
|
||
|
Display key bindings</TextBlock>
|
||
|
|
||
|
<ToggleSwitch Name="keyBindingsToggle"
|
||
|
Grid.Row="11" Grid.Column="1"/>-->
|
||
|
|
||
|
<!-- Miscellaneous section -->
|
||
|
<TextBlock Style="{StaticResource MyTitleTextStyle}"
|
||
|
Grid.Row="12">
|
||
|
Miscellaneous</TextBlock>
|
||
|
|
||
|
<!-- Miscellaneous section: Debugging mode -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="13" Margin="2,12,2,2">
|
||
|
Debugging mode</TextBlock>
|
||
|
|
||
|
<ToggleSwitch Name="debuggingModeToggle"
|
||
|
Grid.Row="13" Grid.Column="1"/>
|
||
|
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="14" Margin="2,12,2,2">
|
||
|
Factory reset*</TextBlock>
|
||
|
|
||
|
<Button Name="buttonReset"
|
||
|
Style="{StaticResource TextButtonStyle}"
|
||
|
Grid.Row="14" Grid.Column="1" VerticalAlignment="Bottom">
|
||
|
Reset</Button>
|
||
|
|
||
|
<!-- Notes section -->
|
||
|
|
||
|
<TextBlock Grid.Row="100" Style="{StaticResource MyItemTextStyle}"
|
||
|
FontSize="11"
|
||
|
Foreground="Silver">
|
||
|
* Will be applied after the application is restarted.
|
||
|
</TextBlock>
|
||
|
|
||
|
</Grid>
|
||
|
</UserControl>
|
||
|
|