mirror of
https://github.com/chibicitiberiu/drumkit.git
synced 2024-02-24 10:53:32 +00:00
133 lines
4.8 KiB
Plaintext
133 lines
4.8 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" />
|
||
|
</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 x:ConnectionId='1' 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 x:ConnectionId='2' 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 x:ConnectionId='3' Name="masterVolumeSlider"
|
||
|
Grid.Row="7" Grid.Column="1"
|
||
|
Minimum="0" Maximum="100"
|
||
|
StepFrequency="1"
|
||
|
SmallChange=".05" LargeChange=".2"
|
||
|
Width="100" Height="48"
|
||
|
HorizontalAlignment="Left"
|
||
|
/>
|
||
|
|
||
|
|
||
|
<!-- Interface section -->
|
||
|
<TextBlock Style="{StaticResource MyTitleTextStyle}"
|
||
|
Grid.Row="8">
|
||
|
Interface</TextBlock>
|
||
|
|
||
|
<!-- Interface section: Animations -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="9" Margin="2,12,2,2">
|
||
|
Animations</TextBlock>
|
||
|
|
||
|
<ToggleSwitch x:ConnectionId='4' Name="animationsToggle"
|
||
|
Grid.Row="9" Grid.Column="1"
|
||
|
/>
|
||
|
|
||
|
<!-- Interface section: Key bindings -->
|
||
|
<TextBlock Style="{StaticResource ItemTextStyle}"
|
||
|
Grid.Row="10" Margin="2,12,2,2">
|
||
|
Display key bindings</TextBlock>
|
||
|
|
||
|
<ToggleSwitch x:ConnectionId='5' Name="keyBindingsToggle"
|
||
|
Grid.Row="10" Grid.Column="1"
|
||
|
/>
|
||
|
|
||
|
|
||
|
</Grid>
|
||
|
</UserControl>
|
||
|
|