Removed VS specific files, and executables.
BIN
DrumKit.suo
BIN
DrumKit.v11.suo
@ -1,22 +0,0 @@
|
|||||||
<Application
|
|
||||||
x:Class="DrumKit.App"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:local="using:DrumKit">
|
|
||||||
|
|
||||||
<Application.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Styles that define common aspects of the platform look and feel
|
|
||||||
Required by Visual Studio project and item templates
|
|
||||||
-->
|
|
||||||
<ResourceDictionary Source="Common/StandardStyles.xaml"/>
|
|
||||||
<ResourceDictionary Source="Common/TextButtonStyles.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
</Application.Resources>
|
|
||||||
</Application>
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
<Application
|
|
||||||
x:Class="DrumKit.App"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:local="using:DrumKit">
|
|
||||||
|
|
||||||
<Application.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Styles that define common aspects of the platform look and feel
|
|
||||||
Required by Visual Studio project and item templates
|
|
||||||
-->
|
|
||||||
<ResourceDictionary Source="Common/StandardStyles.xaml"/>
|
|
||||||
<ResourceDictionary Source="Common/TextButtonStyles.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
</Application.Resources>
|
|
||||||
</Application>
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build">
|
|
||||||
<!--
|
|
||||||
THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.
|
|
||||||
|
|
||||||
Changes to this file will be lost when it is regenerated. To correct errors in this file, edit the source .appxmanifest file.
|
|
||||||
|
|
||||||
For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727
|
|
||||||
-->
|
|
||||||
<Identity Name="35555TiberiuChibici.DrumKit" Publisher="CN=B6F45FE5-D749-4D29-874C-8323B266F3C8" Version="2.1.0.26" ProcessorArchitecture="neutral" />
|
|
||||||
<Properties>
|
|
||||||
<DisplayName>DrumKit</DisplayName>
|
|
||||||
<PublisherDisplayName>Tiberiu Chibici</PublisherDisplayName>
|
|
||||||
<Logo>Assets\Logos\StoreLogo.png</Logo>
|
|
||||||
</Properties>
|
|
||||||
<Prerequisites>
|
|
||||||
<OSMinVersion>6.2.1</OSMinVersion>
|
|
||||||
<OSMaxVersionTested>6.2.1</OSMaxVersionTested>
|
|
||||||
</Prerequisites>
|
|
||||||
<Resources>
|
|
||||||
<Resource Language="EN-US" />
|
|
||||||
</Resources>
|
|
||||||
<Applications>
|
|
||||||
<Application Id="App" Executable="DrumKit.exe" EntryPoint="DrumKit.App">
|
|
||||||
<VisualElements DisplayName="DrumKit" Logo="Assets\Logos\Logo.png" SmallLogo="Assets\Logos\SmallLogo.png" Description="DrumKit" ForegroundText="light" BackgroundColor="#164646" ToastCapable="false">
|
|
||||||
<DefaultTile ShowName="allLogos" WideLogo="Assets\Logos\WideLogo.png" />
|
|
||||||
<SplashScreen Image="Assets\Logos\SplashScreen.png" />
|
|
||||||
<InitialRotationPreference>
|
|
||||||
<Rotation Preference="portrait" />
|
|
||||||
<Rotation Preference="landscape" />
|
|
||||||
<Rotation Preference="portraitFlipped" />
|
|
||||||
<Rotation Preference="landscapeFlipped" />
|
|
||||||
</InitialRotationPreference>
|
|
||||||
</VisualElements>
|
|
||||||
</Application>
|
|
||||||
</Applications>
|
|
||||||
<build:Metadata>
|
|
||||||
<build:Item Name="TargetFrameworkMoniker" Value=".NETCore,Version=v4.5" />
|
|
||||||
<build:Item Name="VisualStudio" Version="11.0" />
|
|
||||||
<build:Item Name="VisualStudioEdition" Value="Microsoft Visual Studio Premium 2012" />
|
|
||||||
<build:Item Name="OperatingSystem" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
|
|
||||||
<build:Item Name="Microsoft.Build.AppxPackage.dll" Version="11.0.60610.1" />
|
|
||||||
<build:Item Name="Microsoft.Windows.UI.Xaml.Build.Tasks.dll" Version="11.0.60315.1" />
|
|
||||||
<build:Item Name="MakePri.exe" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
|
|
||||||
</build:Metadata>
|
|
||||||
</Package>
|
|
Before Width: | Height: | Size: 455 B |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 838 KiB |
@ -1,156 +0,0 @@
|
|||||||
<ResourceDictionary
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
|
|
||||||
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="#ffff" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="#efff" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="#66FFFFFF" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="#FF666666" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="#f000" />
|
|
||||||
|
|
||||||
<x:Double x:Key="TextControlBackgroundThemeOpacity">0</x:Double>
|
|
||||||
<x:Double x:Key="TextControlBorderThemeOpacity">0</x:Double>
|
|
||||||
<x:Double x:Key="TextControlPointerOverBackgroundThemeOpacity">0.17</x:Double>
|
|
||||||
<x:Double x:Key="TextControlPointerOverBorderThemeOpacity">0.17</x:Double>
|
|
||||||
<x:Double x:Key="TextControlThemeMinHeight">32</x:Double>
|
|
||||||
<x:Double x:Key="TextControlThemeMinWidth">64</x:Double>
|
|
||||||
<Thickness x:Key="TextControlBorderThemeThickness">2</Thickness>
|
|
||||||
<Thickness x:Key="TextControlThemePadding">10,3,10,5</Thickness>
|
|
||||||
|
|
||||||
<Style x:Key="MyTextBoxStyle" TargetType="TextBox">
|
|
||||||
<Setter Property="MinWidth" Value="{StaticResource TextControlThemeMinWidth}" />
|
|
||||||
<Setter Property="MinHeight" Value="{StaticResource TextControlThemeMinHeight}" />
|
|
||||||
<Setter Property="Foreground" Value="{StaticResource TextBoxForegroundThemeBrush}" />
|
|
||||||
<Setter Property="Background" Value="{StaticResource TextBoxBackgroundThemeBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorderThemeBrush}" />
|
|
||||||
<Setter Property="BorderThickness" Value="{StaticResource TextControlBorderThemeThickness}" />
|
|
||||||
<Setter Property="FontFamily" Value="{StaticResource ContentControlThemeFontFamily}" />
|
|
||||||
<Setter Property="FontSize" Value="{StaticResource ControlContentThemeFontSize}" />
|
|
||||||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
|
|
||||||
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
|
|
||||||
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
|
|
||||||
<Setter Property="Padding" Value="{StaticResource TextControlThemePadding}"/>
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="TextBox">
|
|
||||||
<Grid>
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
|
||||||
<VisualState x:Name="Disabled">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Background">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TextBoxDisabledBackgroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TextBoxDisabledBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TextBoxDisabledForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EditIconElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="White" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Normal">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0" />
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="White" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="PointerOver">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0.1" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0.1" />
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="White" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Focused">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EditIconElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="Gray" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition Width="*" />
|
|
||||||
<ColumnDefinition Width="0" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Border x:Name="BackgroundElement"
|
|
||||||
Background="{TemplateBinding Background}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}"
|
|
||||||
Grid.ColumnSpan="3"/>
|
|
||||||
|
|
||||||
<Border x:Name="BorderElement"
|
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Grid.ColumnSpan="3"/>
|
|
||||||
|
|
||||||
<TextBlock x:Name="EditIconElement"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
Margin="5,5,0,5"
|
|
||||||
Foreground="#8fff"
|
|
||||||
FontFamily="{StaticResource SymbolThemeFontFamily}"
|
|
||||||
FontStyle="Normal" FontSize="14"
|
|
||||||
Opacity=".6"
|
|
||||||
Text="" />
|
|
||||||
|
|
||||||
<ScrollViewer x:Name="ContentElement"
|
|
||||||
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
|
|
||||||
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
|
||||||
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
|
|
||||||
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
|
|
||||||
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
|
|
||||||
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
|
|
||||||
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}"
|
|
||||||
Padding="{TemplateBinding Padding}"
|
|
||||||
IsTabStop="False"
|
|
||||||
ZoomMode="Disabled"
|
|
||||||
Grid.Column="1"/>
|
|
||||||
|
|
||||||
<Button x:Name="DeleteButton"
|
|
||||||
IsTabStop="False"
|
|
||||||
Grid.Column="2"
|
|
||||||
Visibility="Collapsed"
|
|
||||||
Opacity="0"
|
|
||||||
IsEnabled="False" />
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
Feature ideas:
|
|
||||||
|
|
||||||
* drum hit intensity
|
|
||||||
* audio effects (echo & stuff)
|
|
||||||
* additional drum sets
|
|
||||||
* create/delete drums
|
|
||||||
* create drum kits
|
|
||||||
* z index in editor
|
|
@ -1,37 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.FileControl"
|
|
||||||
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="120"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<TextBlock Name="textName" Style="{StaticResource TitleTextStyle}"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Margin="0,0,0,8">Test</TextBlock>
|
|
||||||
|
|
||||||
<Image Grid.Row="1" Name="image"
|
|
||||||
VerticalAlignment="Stretch"
|
|
||||||
HorizontalAlignment="Left" Width="120"/>
|
|
||||||
|
|
||||||
<Button Name="buttonBrowse" Style="{StaticResource TextButtonStyle}"
|
|
||||||
Grid.Column="1" Margin="10,5,10,5">...</Button>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,212 +0,0 @@
|
|||||||
<UserControl x:ConnectionId='1'
|
|
||||||
x:Class="DrumKit.DrumEditUI"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400"
|
|
||||||
>
|
|
||||||
|
|
||||||
<UserControl.Resources>
|
|
||||||
|
|
||||||
<!-- Translation thumb -->
|
|
||||||
<SolidColorBrush x:Key="TranslationThumbBackgroundBrush" Color="Transparent" />
|
|
||||||
|
|
||||||
<LinearGradientBrush x:Key="TranslationThumbBackgroundFocusedBrush" StartPoint="0,0" EndPoint="0,1">
|
|
||||||
<GradientStop Color="#2fff" Offset="1" />
|
|
||||||
<GradientStop Color="#5fff" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<LinearGradientBrush x:Key="TranslationThumbBackgroundPressedBrush" StartPoint="0,0" EndPoint="0,1">
|
|
||||||
<GradientStop Color="#1fff" Offset="1" />
|
|
||||||
<GradientStop Color="#3fff" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<LinearGradientBrush x:Key="TranslationThumbBorderBrush" StartPoint="0,0" EndPoint="0,1" >
|
|
||||||
<GradientStop Color="#2fff" Offset="1" />
|
|
||||||
<GradientStop Color="#5fff" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<!-- Drum name background -->
|
|
||||||
<LinearGradientBrush x:Key="DrumNameBackgroundBrush" StartPoint="0,0" EndPoint="0,1">
|
|
||||||
<GradientStop Color="#0000" Offset="1" />
|
|
||||||
<GradientStop Color="#2000" Offset="0.7" />
|
|
||||||
<GradientStop Color="#a000" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<!-- Round thumb -->
|
|
||||||
<SolidColorBrush x:Key="RoundThumbBackgroundBrush" Color="WhiteSmoke" />
|
|
||||||
<SolidColorBrush x:Key="RoundThumbBorderBrush" Color="LightGray" />
|
|
||||||
<SolidColorBrush x:Key="RoundThumbForegroundBrush" Color="Gray" />
|
|
||||||
|
|
||||||
<!-- Rotation thumb -->
|
|
||||||
<SolidColorBrush x:Key="RotationTranslationThumbBackgroundBrush" Color="Coral" />
|
|
||||||
<SolidColorBrush x:Key="RotationTranslationThumbBorderBrush" Color="LightCoral" />
|
|
||||||
<SolidColorBrush x:Key="RotationDrumForegroundBrush" Color="Brown" />
|
|
||||||
|
|
||||||
<!-- Translation thumb style -->
|
|
||||||
<Style x:Name="TranslationThumbStyle" TargetType="Thumb">
|
|
||||||
<Setter Property="Background" Value="{StaticResource TranslationThumbBackgroundBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource TranslationThumbBorderBrush}" />
|
|
||||||
<Setter Property="BorderThickness" Value="1" />
|
|
||||||
<Setter Property="VerticalAlignment" Value="Stretch" />
|
|
||||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Thumb">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
|
||||||
<VisualState x:Name="Normal" >
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="normalRectangle"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="PointerOver">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="focusedRectangle"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Pressed">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="pressedRectangle"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<Rectangle Name="normalRectangle"
|
|
||||||
Fill="{TemplateBinding Background}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Opacity="0" />
|
|
||||||
|
|
||||||
<Rectangle Name="focusedRectangle"
|
|
||||||
Fill="{StaticResource TranslationThumbBackgroundFocusedBrush}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Opacity="0" />
|
|
||||||
|
|
||||||
<Rectangle Name="pressedRectangle"
|
|
||||||
Fill="{StaticResource TranslationThumbBackgroundPressedBrush}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Opacity="0" />
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
<!-- Round thumb style -->
|
|
||||||
<Style x:Key="RoundThumbStyle" TargetType="Thumb">
|
|
||||||
<Setter Property="Background" Value="{StaticResource RoundThumbBackgroundBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource RoundThumbBorderBrush}" />
|
|
||||||
<Setter Property="BorderThickness" Value="1" />
|
|
||||||
<Setter Property="Foreground" Value="{StaticResource RoundThumbForegroundBrush}" />
|
|
||||||
<Setter Property="Height" Value="16" />
|
|
||||||
<Setter Property="Width" Value="16" />
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Thumb">
|
|
||||||
<Grid>
|
|
||||||
<Ellipse
|
|
||||||
Fill="{TemplateBinding Background}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}" />
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
Foreground="{TemplateBinding Foreground}"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
Text="{TemplateBinding Tag}"/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
<!-- Rotation thumb style -->
|
|
||||||
<Style x:Key="RotationThumbStyle" TargetType="Thumb" BasedOn="{StaticResource RoundThumbStyle}" >
|
|
||||||
<Setter Property="Background" Value="{StaticResource RotationTranslationThumbBackgroundBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource RotationTranslationThumbBorderBrush}" />
|
|
||||||
<Setter Property="Foreground" Value="{StaticResource RotationDrumForegroundBrush}" />
|
|
||||||
<Setter Property="FontFamily" Value="{StaticResource SymbolThemeFontFamily}" />
|
|
||||||
<Setter Property="FontSize" Value="10" />
|
|
||||||
<Setter Property="FontStyle" Value="Normal" />
|
|
||||||
<Setter Property="Tag" Value="" />
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</UserControl.Resources>
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
<Grid Name="rotateGrid" IsHitTestVisible="False">
|
|
||||||
|
|
||||||
<Image Name="image" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch" />
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<Border HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
IsHitTestVisible="False"
|
|
||||||
Background="{StaticResource DrumNameBackgroundBrush}">
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
IsHitTestVisible="False"
|
|
||||||
Name="nameText" HorizontalAlignment="Center"
|
|
||||||
Style="{StaticResource TitleTextStyle}"
|
|
||||||
Margin="0,2,0,16"/>
|
|
||||||
|
|
||||||
</Border>
|
|
||||||
|
|
||||||
<Border BorderBrush="Black" BorderThickness="1">
|
|
||||||
|
|
||||||
<Thumb x:ConnectionId='4'
|
|
||||||
Name="translationThumb"
|
|
||||||
Style="{StaticResource TranslationThumbStyle}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</Border>
|
|
||||||
|
|
||||||
<Thumb x:ConnectionId='2'
|
|
||||||
Name="rotationThumb"
|
|
||||||
Style="{StaticResource RotationThumbStyle}"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
|
|
||||||
>
|
|
||||||
|
|
||||||
</Thumb>
|
|
||||||
|
|
||||||
<Thumb x:ConnectionId='3'
|
|
||||||
Name="scaleThumb" Grid.Row="1"
|
|
||||||
Style="{StaticResource RoundThumbStyle}"
|
|
||||||
HorizontalAlignment="Right"
|
|
||||||
VerticalAlignment="Bottom"
|
|
||||||
>
|
|
||||||
|
|
||||||
<Thumb.RenderTransform>
|
|
||||||
<TranslateTransform X="8" Y="8" />
|
|
||||||
</Thumb.RenderTransform>
|
|
||||||
|
|
||||||
</Thumb>
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,66 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.DrumPlayUI"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<Grid x:ConnectionId='1' Name="grid" Background="Transparent"
|
|
||||||
>
|
|
||||||
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<VisualStateGroup x:Name="DrumGroups">
|
|
||||||
|
|
||||||
<VisualState x:Name="DrumNormal">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="imagePressed"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
BeginTime="0:0:0.1" Duration="0:0:0.7" To="0" >
|
|
||||||
<DoubleAnimation.EasingFunction>
|
|
||||||
<SineEase EasingMode="EaseInOut" />
|
|
||||||
</DoubleAnimation.EasingFunction>
|
|
||||||
</DoubleAnimation>
|
|
||||||
|
|
||||||
<DoubleAnimation Storyboard.TargetName="image"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0:0:0.3" To="1" >
|
|
||||||
<DoubleAnimation.EasingFunction>
|
|
||||||
<SineEase EasingMode="EaseIn" />
|
|
||||||
</DoubleAnimation.EasingFunction>
|
|
||||||
</DoubleAnimation>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
|
|
||||||
<VisualState x:Name="DrumHit">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="imagePressed"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="image"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To=".3" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
|
|
||||||
|
|
||||||
</VisualStateGroup>
|
|
||||||
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<Image Name="image" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch" />
|
|
||||||
|
|
||||||
<Image Name="imagePressed" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch"
|
|
||||||
Opacity="0" />
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Class="DrumKit.EditorPage"
|
|
||||||
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">
|
|
||||||
|
|
||||||
<Page.Resources>
|
|
||||||
<ImageBrush x:Key="EditorBackgroundBrush" ImageSource="ms-appx:///Assets/bg.png" Stretch="UniformToFill" />
|
|
||||||
|
|
||||||
</Page.Resources>
|
|
||||||
|
|
||||||
<Canvas
|
|
||||||
Name="container"
|
|
||||||
Background="{StaticResource EditorBackgroundBrush}">
|
|
||||||
|
|
||||||
<Button x:ConnectionId='1' Name="buttonBack" Canvas.Left="10" Canvas.Top="10" Canvas.ZIndex="1"
|
|
||||||
Style="{StaticResource BackButtonStyle}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</Canvas>
|
|
||||||
|
|
||||||
<!--<Page.BottomAppBar>
|
|
||||||
<AppBar>
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<Button>Change order</Button>
|
|
||||||
<Button>Bring all drums into view</Button>
|
|
||||||
</StackPanel>
|
|
||||||
</AppBar>
|
|
||||||
</Page.BottomAppBar>-->
|
|
||||||
|
|
||||||
</Page>
|
|
||||||
|
|
@ -1,43 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Class="DrumKit.LoadingPage"
|
|
||||||
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">
|
|
||||||
|
|
||||||
<Grid Background="{StaticResource ApplicationBackgroundColor}">
|
|
||||||
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid HorizontalAlignment="Center"
|
|
||||||
VerticalAlignment="Center">
|
|
||||||
<Image Source="ms-appx:///Assets/Logos/SplashScreen.png"
|
|
||||||
Stretch="None"/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<StackPanel
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
VerticalAlignment="Bottom"
|
|
||||||
Orientation="Horizontal"
|
|
||||||
Margin="20">
|
|
||||||
<ProgressRing Width="40" Height="40" IsActive="True" Foreground="White" />
|
|
||||||
<TextBlock
|
|
||||||
Name="textLoading"
|
|
||||||
Style="{StaticResource SubheaderTextStyle}" Margin="10,0,0,0">
|
|
||||||
Loading resources...</TextBlock>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<ProgressBar
|
|
||||||
Name="progressBar" Grid.Row="1"
|
|
||||||
Foreground="#53AB6D" Background="#20FFFFFF"
|
|
||||||
Minimum="0" Maximum="100"/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</Page>
|
|
||||||
|
|
@ -1,98 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Class="DrumKit.MainPage"
|
|
||||||
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">
|
|
||||||
|
|
||||||
<Page.Resources>
|
|
||||||
|
|
||||||
<ImageBrush x:Key="MainpageBackgroundBrush" ImageSource="ms-appx:///Assets/bg.png" Stretch="UniformToFill" />
|
|
||||||
|
|
||||||
</Page.Resources>
|
|
||||||
|
|
||||||
<Grid
|
|
||||||
Background="{StaticResource MainpageBackgroundBrush}">
|
|
||||||
|
|
||||||
<Canvas Name="canvas" />
|
|
||||||
|
|
||||||
<!--<Grid Visibility="Collapsed">
|
|
||||||
<Border Margin="7"
|
|
||||||
CornerRadius="10"
|
|
||||||
BorderBrush="Red"
|
|
||||||
BorderThickness="5" />
|
|
||||||
|
|
||||||
<Canvas Name="recCanvas">
|
|
||||||
<Ellipse Width="18" Height="18" Fill="Red"
|
|
||||||
Canvas.Left="20"
|
|
||||||
Canvas.Top="20"/>
|
|
||||||
<TextBlock
|
|
||||||
FontFamily="Consolas"
|
|
||||||
FontSize="16"
|
|
||||||
Foreground="Red"
|
|
||||||
Canvas.Left="42"
|
|
||||||
Canvas.Top="19">REC
|
|
||||||
</TextBlock>
|
|
||||||
|
|
||||||
<Canvas.Triggers>
|
|
||||||
<EventTrigger RoutedEvent="Canvas.Loaded">
|
|
||||||
<BeginStoryboard>
|
|
||||||
<Storyboard RepeatBehavior="Forever" >
|
|
||||||
<DoubleAnimation
|
|
||||||
Storyboard.TargetName="recCanvas"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0:0:1" BeginTime="0:0:1" From="1" To="0.1" />
|
|
||||||
</Storyboard>
|
|
||||||
</BeginStoryboard>
|
|
||||||
</EventTrigger>
|
|
||||||
</Canvas.Triggers>
|
|
||||||
</Canvas>
|
|
||||||
<StackPanel Orientation="Horizontal"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Top">
|
|
||||||
<Button>Record</Button>
|
|
||||||
<Button>Stop</Button>
|
|
||||||
</StackPanel>
|
|
||||||
</Grid>-->
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
|
|
||||||
<Page.BottomAppBar>
|
|
||||||
<AppBar>
|
|
||||||
<Grid>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<StackPanel Grid.Column="0" Orientation="Horizontal">
|
|
||||||
|
|
||||||
<ToggleButton x:ConnectionId='2'
|
|
||||||
Name="buttonAnimations"
|
|
||||||
|
|
||||||
AutomationProperties.Name="Animations"
|
|
||||||
IsChecked="True"
|
|
||||||
Style="{StaticResource VideoAppBarButtonStyle}" />
|
|
||||||
|
|
||||||
<Button x:ConnectionId='3'
|
|
||||||
Name="buttonEditMode"
|
|
||||||
|
|
||||||
Style="{StaticResource EditAppBarButtonStyle}" />
|
|
||||||
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Grid.Column="1" Orientation="Horizontal" >
|
|
||||||
<Button x:ConnectionId='1'
|
|
||||||
Name="buttonSettings"
|
|
||||||
|
|
||||||
AutomationProperties.Name="Settings"
|
|
||||||
Style="{StaticResource SettingsAppBarButtonStyle}" />
|
|
||||||
</StackPanel>
|
|
||||||
</Grid>
|
|
||||||
</AppBar>
|
|
||||||
</Page.BottomAppBar>
|
|
||||||
</Page>
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.DrumkitsSettingsControl"
|
|
||||||
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="321.429"
|
|
||||||
d:DesignWidth="696.617">
|
|
||||||
|
|
||||||
<UserControl.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
|
||||||
<ResourceDictionary Source="/Common/TextButtonStyles.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
|
||||||
|
|
||||||
|
|
||||||
<DataTemplate x:Key="DrumkitListDataTemplate">
|
|
||||||
<Grid Name="theGrid">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Left thing -->
|
|
||||||
<Border Name="orangeBorder"
|
|
||||||
Grid.Column="0" Grid.RowSpan="3"
|
|
||||||
Background="OrangeRed" Width="10" />
|
|
||||||
|
|
||||||
<!--<Image MinWidth="10"
|
|
||||||
Source="{Binding Thumbnail}" />-->
|
|
||||||
|
|
||||||
<!-- Name -->
|
|
||||||
<TextBox x:ConnectionId='1' Grid.Column="1" Grid.Row="0" Margin="15,2,15,0"
|
|
||||||
FontSize="15.3"
|
|
||||||
Style="{StaticResource MyTextBoxStyle}"
|
|
||||||
IsReadOnly="True"
|
|
||||||
Text="{Binding Name}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Description -->
|
|
||||||
<TextBox x:ConnectionId='2' Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" Margin="15,0,15,2"
|
|
||||||
Style="{StaticResource MyTextBoxStyle}"
|
|
||||||
Text="{Binding Description}"
|
|
||||||
|
|
||||||
FontSize="13"
|
|
||||||
FontStyle="Italic"
|
|
||||||
IsReadOnly="True"
|
|
||||||
AcceptsReturn="True"
|
|
||||||
TextWrapping="Wrap"
|
|
||||||
Height="80" />
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</DataTemplate>
|
|
||||||
|
|
||||||
<Style x:Key="ListViewStretchItemStyle" TargetType="ListViewItem">
|
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
|
|
||||||
</UserControl.Resources>
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Drumkit list -->
|
|
||||||
<ListView Name="listDrumkits"
|
|
||||||
Grid.Row="0" Grid.Column="0"
|
|
||||||
ItemTemplate="{StaticResource DrumkitListDataTemplate}"
|
|
||||||
ItemContainerStyle="{StaticResource ListViewStretchItemStyle}"
|
|
||||||
SelectionMode="Single" >
|
|
||||||
|
|
||||||
</ListView>
|
|
||||||
|
|
||||||
<ProgressRing
|
|
||||||
Name="progressRing"
|
|
||||||
Foreground="White"
|
|
||||||
Width="50" Height="50" />
|
|
||||||
|
|
||||||
<!-- Buttons -->
|
|
||||||
<StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal">
|
|
||||||
<!--<Button Style="{StaticResource MyButtonStyle}" Click="ButtonCreate_Click">Create</Button>-->
|
|
||||||
<Button x:ConnectionId='3' Style="{StaticResource MyButtonStyle}" >Import</Button>
|
|
||||||
<Button x:ConnectionId='4' Style="{StaticResource MyButtonStyle}" >Export</Button>
|
|
||||||
<Border Width="20" />
|
|
||||||
<Button x:ConnectionId='5' Style="{StaticResource MyButtonStyle}" >Delete</Button>
|
|
||||||
<Button x:ConnectionId='6' Style="{StaticResource MyButtonStyle}" >Set current</Button>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,165 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.DrumsSettingsControl"
|
|
||||||
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="400"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<UserControl.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
|
||||||
<ResourceDictionary Source="/Common/TextButtonStyles.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
|
||||||
|
|
||||||
|
|
||||||
<DataTemplate x:Key="DrumsListDataTemplate">
|
|
||||||
<Grid Name="theGrid"
|
|
||||||
MinWidth="380">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Left thing -->
|
|
||||||
<Border Name="yellowBorder"
|
|
||||||
Grid.Column="0" Grid.RowSpan="3"
|
|
||||||
Background="Yellow" Width="10" />
|
|
||||||
|
|
||||||
<!-- Thumbnail -->
|
|
||||||
<Image Grid.Row="0" Grid.RowSpan="2"
|
|
||||||
Grid.Column="2"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
Width="60" Height="60"
|
|
||||||
Source="{Binding LoadedImageSource}"
|
|
||||||
Stretch="Uniform" />
|
|
||||||
|
|
||||||
<!-- Name -->
|
|
||||||
<TextBox Grid.Column="1" Grid.Row="0" Margin="15,2,15,0"
|
|
||||||
FontSize="15.3"
|
|
||||||
Style="{StaticResource MyTextBoxStyle}"
|
|
||||||
Text="{Binding Name}"
|
|
||||||
IsReadOnly="True" />
|
|
||||||
|
|
||||||
<!-- Configuration -->
|
|
||||||
<Grid
|
|
||||||
Grid.Column="1" Grid.Row="1" Margin="15,0,15,2">
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition />
|
|
||||||
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<ToggleButton x:ConnectionId='3'
|
|
||||||
Name="toggleEnabled" Grid.Column="0"
|
|
||||||
Margin="0,-4,20,0" Padding="5,1"
|
|
||||||
Content="Enabled"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
Grid.Column="1"
|
|
||||||
Style="{StaticResource TitleTextStyle}"
|
|
||||||
Text="Key:" />
|
|
||||||
|
|
||||||
<TextBox x:ConnectionId='4'
|
|
||||||
Grid.Column="2"
|
|
||||||
Name="textKey"
|
|
||||||
Style="{StaticResource MyTextBoxStyle}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<Grid Grid.Column="1" Grid.Row="2" Margin="15,2,15,0">
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
Grid.Column="0"
|
|
||||||
Style="{StaticResource TitleTextStyle}"
|
|
||||||
Text="Volume left:" />
|
|
||||||
|
|
||||||
<Slider x:ConnectionId='1' Name="sliderVolumeL"
|
|
||||||
Grid.Column="1"
|
|
||||||
Margin="5,-8,5,0"
|
|
||||||
Height="34"
|
|
||||||
Minimum="0" Maximum="1"
|
|
||||||
StepFrequency=".01"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
Margin="10,0,0,0"
|
|
||||||
Grid.Column="2"
|
|
||||||
Style="{StaticResource TitleTextStyle}"
|
|
||||||
Text="Right:" />
|
|
||||||
|
|
||||||
<Slider x:ConnectionId='2' Name="sliderVolumeR"
|
|
||||||
Grid.Column="3"
|
|
||||||
Margin="5,-8,5,0"
|
|
||||||
Height="34"
|
|
||||||
Minimum="0" Maximum="1"
|
|
||||||
StepFrequency=".01"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</DataTemplate>
|
|
||||||
|
|
||||||
<Style x:Key="GridViewStretchItemStyle" TargetType="GridViewItem">
|
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
|
|
||||||
</UserControl.Resources>
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Drums list -->
|
|
||||||
<GridView Name="listDrums"
|
|
||||||
Grid.Row="0" Grid.Column="0"
|
|
||||||
ItemTemplate="{StaticResource DrumsListDataTemplate}"
|
|
||||||
ItemContainerStyle="{StaticResource GridViewStretchItemStyle}"
|
|
||||||
SelectionMode="Single" >
|
|
||||||
<local:Drum ImageSource="/Assets/bg.png" Id="adda" Name="Hello world!" />
|
|
||||||
</GridView>
|
|
||||||
|
|
||||||
<!-- Buttons -->
|
|
||||||
<!--<StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal">
|
|
||||||
<Button Style="{StaticResource MyButtonStyle}" Click="ButtonCreate_Click">Create</Button>
|
|
||||||
<Button Style="{StaticResource MyButtonStyle}" Click="ButtonDelete_Click">Delete</Button>
|
|
||||||
</StackPanel>-->
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.ExperimentsSettingsControl"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<UserControl.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
|
||||||
<ResourceDictionary Source="/Common/TextButtonStyles.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
|
||||||
</ResourceDictionary>
|
|
||||||
</UserControl.Resources>
|
|
||||||
|
|
||||||
<Canvas Name="canvas">
|
|
||||||
<StackPanel>
|
|
||||||
<TextBox Style="{StaticResource MyTextBoxStyle}" Width="200" Text="Hello world!"/>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
</Canvas>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,175 +0,0 @@
|
|||||||
<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>
|
|
||||||
|
|
@ -1,93 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.LayoutsSettingsControl"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<UserControl.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
|
|
||||||
<DataTemplate x:Key="DrumkitListDataTemplate">
|
|
||||||
<Grid Name="theGrid">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Left thing -->
|
|
||||||
<Border Name="greenBorder"
|
|
||||||
Grid.Column="0" Grid.RowSpan="3"
|
|
||||||
Background="GreenYellow" Width="10" />
|
|
||||||
|
|
||||||
<!-- Name -->
|
|
||||||
<TextBox x:ConnectionId='1' Grid.Column="1" Grid.Row="0" Margin="15,2,15,0"
|
|
||||||
FontSize="15.3"
|
|
||||||
Style="{StaticResource MyTextBoxStyle}"
|
|
||||||
Text="{Binding Name}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Description -->
|
|
||||||
<StackPanel Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" Margin="15,0,15,2"
|
|
||||||
Orientation="Horizontal">
|
|
||||||
<ToggleButton x:ConnectionId='2' Name="toggleLandscape" >Landscape</ToggleButton>
|
|
||||||
<ToggleButton x:ConnectionId='3' Name="togglePortrait" >Portrait</ToggleButton>
|
|
||||||
<ToggleButton x:ConnectionId='4' Name="toggleFilled" >Filled</ToggleButton>
|
|
||||||
<ToggleButton x:ConnectionId='5' Name="toggleSnapped" >Snapped</ToggleButton>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</DataTemplate>
|
|
||||||
|
|
||||||
<Style x:Key="ListViewStretchItemStyle" TargetType="ListViewItem">
|
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
|
|
||||||
</UserControl.Resources>
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Drumkit list -->
|
|
||||||
<ListView Name="listLayouts"
|
|
||||||
Grid.Row="0" Grid.Column="0"
|
|
||||||
ItemTemplate="{StaticResource DrumkitListDataTemplate}"
|
|
||||||
ItemContainerStyle="{StaticResource ListViewStretchItemStyle}"
|
|
||||||
SelectionMode="Single" >
|
|
||||||
|
|
||||||
<local:DrumkitLayout IsDefault="True" Name="Hello world" TargetViewSerialize="All" />
|
|
||||||
|
|
||||||
<TextBlock>Hello world!</TextBlock>
|
|
||||||
|
|
||||||
</ListView>
|
|
||||||
|
|
||||||
<!-- Buttons -->
|
|
||||||
<StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal">
|
|
||||||
<Button x:ConnectionId='6' Style="{StaticResource MyButtonStyle}" >Create</Button>
|
|
||||||
<Button x:ConnectionId='7' Style="{StaticResource MyButtonStyle}" >Edit</Button>
|
|
||||||
<Button x:ConnectionId='8' Style="{StaticResource MyButtonStyle}" >Delete</Button>
|
|
||||||
<Button x:ConnectionId='9' Style="{StaticResource MyButtonStyle}" >Toggle active</Button>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.LogControl"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
<ColumnDefinition Width="2.5*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<ListView x:ConnectionId='1' Name="logEntriesList" Grid.Column="0" Margin="5"
|
|
||||||
Background="#3FFF"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<Rectangle Name="logTextPlaceholder" Grid.Column="1" Margin="0,5,5,5" />
|
|
||||||
<WebView Name="logText" Grid.Column="1" Margin="0,5,5,5"/>
|
|
||||||
|
|
||||||
<StackPanel Grid.Row="1" Grid.ColumnSpan="5" Orientation="Horizontal">
|
|
||||||
<Button x:ConnectionId='2' Style="{StaticResource MyButtonStyle}" >Save as</Button>
|
|
||||||
<Button x:ConnectionId='3' Style="{StaticResource MyButtonStyle}" >Delete all</Button>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,137 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Class="DrumKit.SettingsPage"
|
|
||||||
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">
|
|
||||||
|
|
||||||
<Page.Resources>
|
|
||||||
<Style x:Key="TabRadioButtonStyle" TargetType="RadioButton">
|
|
||||||
<Setter Property="FontSize" Value="26.667"/>
|
|
||||||
<Setter Property="FontWeight" Value="Light"/>
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="RadioButton">
|
|
||||||
<Border Padding="10,5,10,5">
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CheckStates">
|
|
||||||
<VisualStateGroup.Transitions>
|
|
||||||
<VisualTransition GeneratedDuration="0:0:0.2"/>
|
|
||||||
</VisualStateGroup.Transitions>
|
|
||||||
<VisualState x:Name="Checked">
|
|
||||||
<Storyboard>
|
|
||||||
<ColorAnimation Duration="0" To="#59FFFF" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Unchecked">
|
|
||||||
<Storyboard>
|
|
||||||
<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Indeterminate">
|
|
||||||
<Storyboard>
|
|
||||||
<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
<VisualStateGroup x:Name="FocusStates"/>
|
|
||||||
<VisualStateGroup x:Name="CommonStates"/>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<ContentPresenter x:Name="contentPresenter"/>
|
|
||||||
</Border>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
</Page.Resources>
|
|
||||||
|
|
||||||
<Page.Transitions>
|
|
||||||
<TransitionCollection>
|
|
||||||
<EntranceThemeTransition />
|
|
||||||
</TransitionCollection>
|
|
||||||
</Page.Transitions>
|
|
||||||
|
|
||||||
<Border Background="{StaticResource ApplicationPageBackgroundThemeBrush}"
|
|
||||||
Padding="40">
|
|
||||||
<Grid >
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="120"/>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Button x:ConnectionId='1' Name="buttonBack" Grid.Row="0" Grid.Column="0"
|
|
||||||
Style="{StaticResource BackButtonStyle}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<ScrollViewer Grid.Row="0" Grid.Column="1"
|
|
||||||
ZoomMode="Disabled"
|
|
||||||
HorizontalScrollMode="Enabled"
|
|
||||||
HorizontalScrollBarVisibility="Hidden"
|
|
||||||
VerticalScrollBarVisibility="Disabled"
|
|
||||||
VerticalScrollMode="Disabled"
|
|
||||||
VerticalAlignment="Top">
|
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<StackPanel.ChildrenTransitions>
|
|
||||||
<TransitionCollection>
|
|
||||||
<EntranceThemeTransition />
|
|
||||||
</TransitionCollection>
|
|
||||||
</StackPanel.ChildrenTransitions>
|
|
||||||
<RadioButton x:ConnectionId='2' Name="radioGeneral"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}"
|
|
||||||
IsChecked="True"
|
|
||||||
>
|
|
||||||
General
|
|
||||||
</RadioButton>
|
|
||||||
<RadioButton x:ConnectionId='3' Name="radioDrumkit"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}"
|
|
||||||
>
|
|
||||||
Drumkits
|
|
||||||
</RadioButton>
|
|
||||||
<RadioButton x:ConnectionId='4' Name="radioDrums"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}"
|
|
||||||
>
|
|
||||||
Drums
|
|
||||||
</RadioButton>
|
|
||||||
<RadioButton x:ConnectionId='5' Name="radioLayouts"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}"
|
|
||||||
>
|
|
||||||
Layouts
|
|
||||||
</RadioButton>
|
|
||||||
<RadioButton x:ConnectionId='6' Name="radioLogs"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}"
|
|
||||||
>
|
|
||||||
Logs
|
|
||||||
</RadioButton>
|
|
||||||
<!--<RadioButton Name="radioExperiments"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}"
|
|
||||||
Click="radioGeneral_Click_1">
|
|
||||||
Experiments
|
|
||||||
</RadioButton>-->
|
|
||||||
</StackPanel>
|
|
||||||
</ScrollViewer>
|
|
||||||
|
|
||||||
<ContentControl Name="contentControl"
|
|
||||||
Grid.Row="1" Grid.ColumnSpan="4"
|
|
||||||
HorizontalContentAlignment="Stretch"
|
|
||||||
VerticalContentAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch">
|
|
||||||
<ContentControl.ContentTransitions>
|
|
||||||
<TransitionCollection>
|
|
||||||
<ContentThemeTransition HorizontalOffset="200" />
|
|
||||||
</TransitionCollection>
|
|
||||||
</ContentControl.ContentTransitions>
|
|
||||||
</ContentControl>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</Border>
|
|
||||||
</Page>
|
|
||||||
|
|
@ -1,169 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Machine>TIBI-PC</Machine>
|
|
||||||
<WindowsUser>chibi_000</WindowsUser>
|
|
||||||
<SolutionConfiguration>Debug|AnyCPU</SolutionConfiguration>
|
|
||||||
<PackageArchitecture>neutral</PackageArchitecture>
|
|
||||||
<RegisteredManifestChecksum>D92ED3A60FADE202EDB534420AABD641C4512204641B8F7940D09303C40FA6D2</RegisteredManifestChecksum>
|
|
||||||
<RegisteredPackageMoniker>35555TiberiuChibici.DrumKit_2.1.0.26_neutral__rpr4x2y6afkpe</RegisteredPackageMoniker>
|
|
||||||
<RegisteredUserModeAppID>35555TiberiuChibici.DrumKit_rpr4x2y6afkpe!App</RegisteredUserModeAppID>
|
|
||||||
<RegisteredPackageID>35555TiberiuChibici.DrumKit</RegisteredPackageID>
|
|
||||||
<RegisteredPackagePublisher>CN=B6F45FE5-D749-4D29-874C-8323B266F3C8</RegisteredPackagePublisher>
|
|
||||||
<RegisteredVersion>2.1.0.26</RegisteredVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AppXManifest Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\AppxManifest.xml">
|
|
||||||
<PackagePath>AppxManifest.xml</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2013-07-20T17:32:12.697</Modified>
|
|
||||||
</AppXManifest>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\DrumKit.exe">
|
|
||||||
<PackagePath>DrumKit.exe</PackagePath>
|
|
||||||
<Modified>2013-07-20T17:32:10.592</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\DrumKit.pdb">
|
|
||||||
<PackagePath>DrumKit.pdb</PackagePath>
|
|
||||||
<Modified>2013-07-20T17:32:10.546</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\Tarball\bin\Debug\Tarball.pdb">
|
|
||||||
<PackagePath>Tarball.pdb</PackagePath>
|
|
||||||
<Modified>2013-07-20T17:32:04.579</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\SharpDX.dll">
|
|
||||||
<PackagePath>SharpDX.dll</PackagePath>
|
|
||||||
<Modified>2012-12-21T14:59:50.068</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\SharpDX.XAudio2.dll">
|
|
||||||
<PackagePath>SharpDX.XAudio2.dll</PackagePath>
|
|
||||||
<Modified>2012-12-21T15:00:07.213</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\Tarball\bin\Debug\Tarball.dll">
|
|
||||||
<PackagePath>Tarball.dll</PackagePath>
|
|
||||||
<Modified>2013-07-20T17:32:04.661</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\ApplicationData.tar">
|
|
||||||
<PackagePath>Assets\ApplicationData.tar</PackagePath>
|
|
||||||
<Modified>2013-07-20T17:45:13.442</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Features.txt">
|
|
||||||
<PackagePath>Features.txt</PackagePath>
|
|
||||||
<Modified>2013-07-20T17:34:19.135</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\bg.png">
|
|
||||||
<PackagePath>Assets\bg.png</PackagePath>
|
|
||||||
<Modified>2012-12-09T13:05:37.881</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\BadgeIcon.png">
|
|
||||||
<PackagePath>Assets\Logos\BadgeIcon.png</PackagePath>
|
|
||||||
<Modified>2012-12-13T12:28:52.517</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-140.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-140.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2012-12-13T12:29:00.338</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-180.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-180.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2012-12-13T12:29:07.967</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\WideLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\WideLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2012-12-15T14:14:57.206</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\Logo.png">
|
|
||||||
<PackagePath>Assets\Logos\Logo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2012-12-13T12:28:57.123</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SmallLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\SmallLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2012-12-13T12:28:59.299</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-100.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-100.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2012-12-13T12:29:04.655</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\StoreLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\StoreLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
<Modified>2012-12-15T12:57:03.916</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\App.xaml">
|
|
||||||
<PackagePath>App.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-11T17:00:45.792</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\Common\StandardStyles.xaml">
|
|
||||||
<PackagePath>Common\StandardStyles.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T21:30:57.376</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\Common\TextButtonStyles.xaml">
|
|
||||||
<PackagePath>Common\TextButtonStyles.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T16:19:08.157</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\DrumPlayUI.xaml">
|
|
||||||
<PackagePath>UI\DrumPlayUI.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T21:35:47.060</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\DrumEditUI.xaml">
|
|
||||||
<PackagePath>UI\DrumEditUI.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T13:55:54.042</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\EditorPage.xaml">
|
|
||||||
<PackagePath>UI\EditorPage.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T13:07:01.330</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\LayoutsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\LayoutsSettingsControl.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T14:17:39.565</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\ExperimentsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\ExperimentsSettingsControl.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T20:53:25.162</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\CommonControls\FileControl.xaml">
|
|
||||||
<PackagePath>UI\CommonControls\FileControl.xaml</PackagePath>
|
|
||||||
<Modified>2013-02-27T08:31:51.818</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\DrumsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\DrumsSettingsControl.xaml</PackagePath>
|
|
||||||
<Modified>2013-07-18T18:49:32.287</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\DrumkitsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\DrumkitsSettingsControl.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T22:07:46.120</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\GeneralSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\GeneralSettingsControl.xaml</PackagePath>
|
|
||||||
<Modified>2013-07-17T17:26:12.327</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\SettingsPage.xaml">
|
|
||||||
<PackagePath>UI\SettingsPage.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T22:29:04.485</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\LoadingPage.xaml">
|
|
||||||
<PackagePath>UI\LoadingPage.xaml</PackagePath>
|
|
||||||
<Modified>2013-02-11T21:41:00.385</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\MainPage.xaml">
|
|
||||||
<PackagePath>UI\MainPage.xaml</PackagePath>
|
|
||||||
<Modified>2013-04-13T21:31:22.221</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\LogControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\LogControl.xaml</PackagePath>
|
|
||||||
<Modified>2013-03-25T20:36:28.505</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\resources.pri">
|
|
||||||
<PackagePath>resources.pri</PackagePath>
|
|
||||||
<Modified>2013-07-20T17:32:11.734</Modified>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build">
|
|
||||||
<!--
|
|
||||||
THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.
|
|
||||||
|
|
||||||
Changes to this file will be lost when it is regenerated. To correct errors in this file, edit the source .appxmanifest file.
|
|
||||||
|
|
||||||
For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727
|
|
||||||
-->
|
|
||||||
<Identity Name="35555TiberiuChibici.DrumKit" Publisher="CN=B6F45FE5-D749-4D29-874C-8323B266F3C8" Version="2.1.0.26" ProcessorArchitecture="neutral" />
|
|
||||||
<Properties>
|
|
||||||
<DisplayName>DrumKit</DisplayName>
|
|
||||||
<PublisherDisplayName>Tiberiu Chibici</PublisherDisplayName>
|
|
||||||
<Logo>Assets\Logos\StoreLogo.png</Logo>
|
|
||||||
</Properties>
|
|
||||||
<Prerequisites>
|
|
||||||
<OSMinVersion>6.2.1</OSMinVersion>
|
|
||||||
<OSMaxVersionTested>6.2.1</OSMaxVersionTested>
|
|
||||||
</Prerequisites>
|
|
||||||
<Resources>
|
|
||||||
<Resource Language="EN-US" />
|
|
||||||
</Resources>
|
|
||||||
<Applications>
|
|
||||||
<Application Id="App" Executable="DrumKit.exe" EntryPoint="DrumKit.App">
|
|
||||||
<VisualElements DisplayName="DrumKit" Logo="Assets\Logos\Logo.png" SmallLogo="Assets\Logos\SmallLogo.png" Description="DrumKit" ForegroundText="light" BackgroundColor="#164646" ToastCapable="false">
|
|
||||||
<DefaultTile ShowName="allLogos" WideLogo="Assets\Logos\WideLogo.png" />
|
|
||||||
<SplashScreen Image="Assets\Logos\SplashScreen.png" />
|
|
||||||
<InitialRotationPreference>
|
|
||||||
<Rotation Preference="portrait" />
|
|
||||||
<Rotation Preference="landscape" />
|
|
||||||
<Rotation Preference="portraitFlipped" />
|
|
||||||
<Rotation Preference="landscapeFlipped" />
|
|
||||||
</InitialRotationPreference>
|
|
||||||
</VisualElements>
|
|
||||||
</Application>
|
|
||||||
</Applications>
|
|
||||||
<build:Metadata>
|
|
||||||
<build:Item Name="TargetFrameworkMoniker" Value=".NETCore,Version=v4.5" />
|
|
||||||
<build:Item Name="VisualStudio" Version="11.0" />
|
|
||||||
<build:Item Name="VisualStudioEdition" Value="Microsoft Visual Studio Premium 2012" />
|
|
||||||
<build:Item Name="OperatingSystem" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
|
|
||||||
<build:Item Name="Microsoft.Build.AppxPackage.dll" Version="11.0.60610.1" />
|
|
||||||
<build:Item Name="Microsoft.Windows.UI.Xaml.Build.Tasks.dll" Version="11.0.60315.1" />
|
|
||||||
<build:Item Name="MakePri.exe" Version="6.2.9200.16384 (win8_rtm.120725-1247)" />
|
|
||||||
</build:Metadata>
|
|
||||||
</Package>
|
|
@ -1,156 +0,0 @@
|
|||||||
<ResourceDictionary
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
||||||
|
|
||||||
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="#ffff" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="#efff" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="Transparent" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="#66FFFFFF" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="#FF666666" />
|
|
||||||
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="#f000" />
|
|
||||||
|
|
||||||
<x:Double x:Key="TextControlBackgroundThemeOpacity">0</x:Double>
|
|
||||||
<x:Double x:Key="TextControlBorderThemeOpacity">0</x:Double>
|
|
||||||
<x:Double x:Key="TextControlPointerOverBackgroundThemeOpacity">0.17</x:Double>
|
|
||||||
<x:Double x:Key="TextControlPointerOverBorderThemeOpacity">0.17</x:Double>
|
|
||||||
<x:Double x:Key="TextControlThemeMinHeight">32</x:Double>
|
|
||||||
<x:Double x:Key="TextControlThemeMinWidth">64</x:Double>
|
|
||||||
<Thickness x:Key="TextControlBorderThemeThickness">2</Thickness>
|
|
||||||
<Thickness x:Key="TextControlThemePadding">10,3,10,5</Thickness>
|
|
||||||
|
|
||||||
<Style x:Key="MyTextBoxStyle" TargetType="TextBox">
|
|
||||||
<Setter Property="MinWidth" Value="{StaticResource TextControlThemeMinWidth}" />
|
|
||||||
<Setter Property="MinHeight" Value="{StaticResource TextControlThemeMinHeight}" />
|
|
||||||
<Setter Property="Foreground" Value="{StaticResource TextBoxForegroundThemeBrush}" />
|
|
||||||
<Setter Property="Background" Value="{StaticResource TextBoxBackgroundThemeBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorderThemeBrush}" />
|
|
||||||
<Setter Property="BorderThickness" Value="{StaticResource TextControlBorderThemeThickness}" />
|
|
||||||
<Setter Property="FontFamily" Value="{StaticResource ContentControlThemeFontFamily}" />
|
|
||||||
<Setter Property="FontSize" Value="{StaticResource ControlContentThemeFontSize}" />
|
|
||||||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
|
|
||||||
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
|
|
||||||
<Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False" />
|
|
||||||
<Setter Property="Padding" Value="{StaticResource TextControlThemePadding}"/>
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="TextBox">
|
|
||||||
<Grid>
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
|
||||||
<VisualState x:Name="Disabled">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Background">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TextBoxDisabledBackgroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TextBoxDisabledBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TextBoxDisabledForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EditIconElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="White" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Normal">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0" />
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="White" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="PointerOver">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0.1" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="0.1" />
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="White" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Focused">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="EditIconElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="Gray" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition Width="*" />
|
|
||||||
<ColumnDefinition Width="0" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Border x:Name="BackgroundElement"
|
|
||||||
Background="{TemplateBinding Background}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}"
|
|
||||||
Grid.ColumnSpan="3"/>
|
|
||||||
|
|
||||||
<Border x:Name="BorderElement"
|
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Grid.ColumnSpan="3"/>
|
|
||||||
|
|
||||||
<TextBlock x:Name="EditIconElement"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
Margin="5,5,0,5"
|
|
||||||
Foreground="#8fff"
|
|
||||||
FontFamily="{StaticResource SymbolThemeFontFamily}"
|
|
||||||
FontStyle="Normal" FontSize="14"
|
|
||||||
Opacity=".6"
|
|
||||||
Text="" />
|
|
||||||
|
|
||||||
<ScrollViewer x:Name="ContentElement"
|
|
||||||
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
|
|
||||||
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
|
||||||
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
|
|
||||||
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
|
|
||||||
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
|
|
||||||
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
|
|
||||||
IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}"
|
|
||||||
Padding="{TemplateBinding Padding}"
|
|
||||||
IsTabStop="False"
|
|
||||||
ZoomMode="Disabled"
|
|
||||||
Grid.Column="1"/>
|
|
||||||
|
|
||||||
<Button x:Name="DeleteButton"
|
|
||||||
IsTabStop="False"
|
|
||||||
Grid.Column="2"
|
|
||||||
Visibility="Collapsed"
|
|
||||||
Opacity="0"
|
|
||||||
IsEnabled="False" />
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
|
|
@ -1,128 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Machine>TIBI-PC</Machine>
|
|
||||||
<WindowsUser>chibi_000</WindowsUser>
|
|
||||||
<SolutionConfiguration>Debug|AnyCPU</SolutionConfiguration>
|
|
||||||
<PackageArchitecture>neutral</PackageArchitecture>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AppXManifest Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\AppxManifest.xml">
|
|
||||||
<PackagePath>AppxManifest.xml</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppXManifest>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\DrumKit.exe">
|
|
||||||
<PackagePath>DrumKit.exe</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\DrumKit.pdb">
|
|
||||||
<PackagePath>DrumKit.pdb</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\Tarball\bin\Debug\Tarball.pdb">
|
|
||||||
<PackagePath>Tarball.pdb</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\SharpDX.dll">
|
|
||||||
<PackagePath>SharpDX.dll</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\SharpDX.XAudio2.dll">
|
|
||||||
<PackagePath>SharpDX.XAudio2.dll</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\Tarball\bin\Debug\Tarball.dll">
|
|
||||||
<PackagePath>Tarball.dll</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\ApplicationData.tar">
|
|
||||||
<PackagePath>Assets\ApplicationData.tar</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Features.txt">
|
|
||||||
<PackagePath>Features.txt</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\bg.png">
|
|
||||||
<PackagePath>Assets\bg.png</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\BadgeIcon.png">
|
|
||||||
<PackagePath>Assets\Logos\BadgeIcon.png</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-140.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-140.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-180.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-180.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\WideLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\WideLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\Logo.png">
|
|
||||||
<PackagePath>Assets\Logos\Logo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SmallLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\SmallLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-100.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-100.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\StoreLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\StoreLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\App.xaml">
|
|
||||||
<PackagePath>App.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\Common\StandardStyles.xaml">
|
|
||||||
<PackagePath>Common\StandardStyles.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\Common\TextButtonStyles.xaml">
|
|
||||||
<PackagePath>Common\TextButtonStyles.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\DrumPlayUI.xaml">
|
|
||||||
<PackagePath>UI\DrumPlayUI.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\DrumEditUI.xaml">
|
|
||||||
<PackagePath>UI\DrumEditUI.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\EditorPage.xaml">
|
|
||||||
<PackagePath>UI\EditorPage.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\LayoutsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\LayoutsSettingsControl.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\ExperimentsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\ExperimentsSettingsControl.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\CommonControls\FileControl.xaml">
|
|
||||||
<PackagePath>UI\CommonControls\FileControl.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\DrumsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\DrumsSettingsControl.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\DrumkitsSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\DrumkitsSettingsControl.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\GeneralSettingsControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\GeneralSettingsControl.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\SettingsPage.xaml">
|
|
||||||
<PackagePath>UI\SettingsPage.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\LoadingPage.xaml">
|
|
||||||
<PackagePath>UI\LoadingPage.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\MainPage.xaml">
|
|
||||||
<PackagePath>UI\MainPage.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\Settings\LogControl.xaml">
|
|
||||||
<PackagePath>UI\Settings\LogControl.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\resources.pri">
|
|
||||||
<PackagePath>resources.pri</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
@ -1,89 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Machine>TIBI-PC</Machine>
|
|
||||||
<WindowsUser>Tiberiu</WindowsUser>
|
|
||||||
<SolutionConfiguration>Debug|AnyCPU</SolutionConfiguration>
|
|
||||||
<PackageArchitecture>neutral</PackageArchitecture>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AppXManifest Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\AppxManifest.xml">
|
|
||||||
<PackagePath>AppxManifest.xml</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppXManifest>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\DrumKit.exe">
|
|
||||||
<PackagePath>DrumKit.exe</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\DrumKit.pdb">
|
|
||||||
<PackagePath>DrumKit.pdb</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\WebDownloads\SharpDX242\Bin\Signed-winrt\SharpDX.dll">
|
|
||||||
<PackagePath>SharpDX.dll</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\WebDownloads\SharpDX242\Bin\Signed-winrt\SharpDX.XAudio2.dll">
|
|
||||||
<PackagePath>SharpDX.XAudio2.dll</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\WebDownloads\SharpDX242\Bin\Signed-winrt\SharpDX.xml">
|
|
||||||
<PackagePath>SharpDX.xml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\WebDownloads\SharpDX242\Bin\Signed-winrt\SharpDX.XAudio2.xml">
|
|
||||||
<PackagePath>SharpDX.XAudio2.xml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\ApplicationData.tar">
|
|
||||||
<PackagePath>Assets\ApplicationData.tar</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\bg.png">
|
|
||||||
<PackagePath>Assets\bg.png</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\BadgeIcon.png">
|
|
||||||
<PackagePath>Assets\Logos\BadgeIcon.png</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-140.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-140.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-180.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-180.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\WideLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\WideLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\Logo.png">
|
|
||||||
<PackagePath>Assets\Logos\Logo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SmallLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\SmallLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\SplashScreen.scale-100.png">
|
|
||||||
<PackagePath>Assets\Logos\SplashScreen.scale-100.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\Assets\Logos\StoreLogo.png">
|
|
||||||
<PackagePath>Assets\Logos\StoreLogo.png</PackagePath>
|
|
||||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\App.xaml">
|
|
||||||
<PackagePath>App.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\Common\StandardStyles.xaml">
|
|
||||||
<PackagePath>Common\StandardStyles.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\LoadingPage.xaml">
|
|
||||||
<PackagePath>UI\LoadingPage.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\UI\MainPage.xaml">
|
|
||||||
<PackagePath>UI\MainPage.xaml</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
<AppxPackagedFile Include="F:\Dev\Windows8\DrumKit\DrumKit\bin\Debug\resources.pri">
|
|
||||||
<PackagePath>resources.pri</PackagePath>
|
|
||||||
</AppxPackagedFile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
@ -1,61 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.DrumPlayUI"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<Grid x:ConnectionId='1' Name="grid" Background="Transparent"
|
|
||||||
>
|
|
||||||
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<VisualStateGroup x:Name="DrumGroups">
|
|
||||||
|
|
||||||
<VisualState x:Name="DrumNormal">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="imagePressed"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
BeginTime="0:0:0.2" Duration="0:0:0.7" To="0" >
|
|
||||||
<DoubleAnimation.EasingFunction>
|
|
||||||
<SineEase EasingMode="EaseInOut" />
|
|
||||||
</DoubleAnimation.EasingFunction>
|
|
||||||
</DoubleAnimation>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="image"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
BeginTime="0:0:0.2" Duration="0:0:0.3" To="1" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
|
|
||||||
<VisualState x:Name="DrumHit">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="imagePressed"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="image"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To=".5" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
|
|
||||||
|
|
||||||
</VisualStateGroup>
|
|
||||||
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<Image Name="image" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch" />
|
|
||||||
|
|
||||||
<Image Name="imagePressed" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch"
|
|
||||||
Opacity="0" />
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,98 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.LayoutsSettingsControl"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<UserControl.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
|
|
||||||
<DataTemplate x:Key="DrumkitListDataTemplate">
|
|
||||||
<Grid Name="theGrid">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Left thing -->
|
|
||||||
<Border Name="greenBorder"
|
|
||||||
Grid.Column="0" Grid.RowSpan="3"
|
|
||||||
Background="GreenYellow" Width="10" />
|
|
||||||
|
|
||||||
<!-- Name -->
|
|
||||||
<TextBox x:ConnectionId='1' Grid.Column="1" Grid.Row="0" Margin="15,2,15,0"
|
|
||||||
FontSize="15.3"
|
|
||||||
Style="{StaticResource MyTextBoxStyle}"
|
|
||||||
Text="{Binding Name}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Description -->
|
|
||||||
<StackPanel Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" Margin="15,0,15,2"
|
|
||||||
Orientation="Horizontal">
|
|
||||||
<ToggleButton x:ConnectionId='2' Name="toggleLandscape" >Landscape</ToggleButton>
|
|
||||||
<ToggleButton x:ConnectionId='3' Name="togglePortrait" >Portrait</ToggleButton>
|
|
||||||
<ToggleButton x:ConnectionId='4' Name="toggleFilled" >Filled</ToggleButton>
|
|
||||||
<ToggleButton x:ConnectionId='5' Name="toggleSnapped" >Snapped</ToggleButton>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</DataTemplate>
|
|
||||||
|
|
||||||
<Style x:Key="ListViewStretchItemStyle" TargetType="ListViewItem">
|
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</ResourceDictionary>
|
|
||||||
|
|
||||||
</UserControl.Resources>
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Drumkit list -->
|
|
||||||
<ListView Name="listLayouts"
|
|
||||||
Grid.Row="0" Grid.Column="0"
|
|
||||||
ItemTemplate="{StaticResource DrumkitListDataTemplate}"
|
|
||||||
ItemContainerStyle="{StaticResource ListViewStretchItemStyle}"
|
|
||||||
SelectionMode="Single" >
|
|
||||||
|
|
||||||
<local:DrumkitLayout IsDefault="True" Name="Hello world" TargetViewSerialize="All" />
|
|
||||||
|
|
||||||
<TextBlock>Hello world!</TextBlock>
|
|
||||||
|
|
||||||
</ListView>
|
|
||||||
|
|
||||||
<ProgressRing
|
|
||||||
Name="progressRing"
|
|
||||||
Foreground="White"
|
|
||||||
Width="50" Height="50" />
|
|
||||||
|
|
||||||
<!-- Buttons -->
|
|
||||||
<StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal">
|
|
||||||
<Button x:ConnectionId='6' Style="{StaticResource MyButtonStyle}" >Create</Button>
|
|
||||||
<Button x:ConnectionId='7' Style="{StaticResource MyButtonStyle}" >Edit</Button>
|
|
||||||
<Button x:ConnectionId='8' Style="{StaticResource MyButtonStyle}" >Delete</Button>
|
|
||||||
<Button x:ConnectionId='9' Style="{StaticResource MyButtonStyle}" >Toggle active</Button>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.EditableTextblock"
|
|
||||||
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="106.895"
|
|
||||||
d:DesignWidth="501.752"
|
|
||||||
Name="Stuff">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Button x:ConnectionId='1' Name="buttonEdit"
|
|
||||||
Grid.Column="1" Margin="5"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
Style="{StaticResource TextButtonStyle}"
|
|
||||||
FontFamily="{StaticResource SymbolThemeFontFamily}"
|
|
||||||
FontStyle="Normal" FontSize="17"
|
|
||||||
Content="" />
|
|
||||||
|
|
||||||
<TextBlock Name="textBlock" Grid.Column="0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="helo world"/>
|
|
||||||
|
|
||||||
<TextBox x:ConnectionId='2' Name="textBox" Grid.Column="0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Visibility="Collapsed"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.FileControl"
|
|
||||||
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="120"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<TextBlock Name="textName" Style="{StaticResource TitleTextStyle}"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Margin="0,0,0,8">Test</TextBlock>
|
|
||||||
|
|
||||||
<Image Grid.Row="1" Name="image"
|
|
||||||
VerticalAlignment="Stretch"
|
|
||||||
HorizontalAlignment="Left" Width="120"/>
|
|
||||||
|
|
||||||
<Button Name="buttonBrowse" Style="{StaticResource TextButtonStyle}"
|
|
||||||
Grid.Column="1" Margin="10,5,10,5">...</Button>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,212 +0,0 @@
|
|||||||
<UserControl x:ConnectionId='1'
|
|
||||||
x:Class="DrumKit.DrumEditUI"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400"
|
|
||||||
>
|
|
||||||
|
|
||||||
<UserControl.Resources>
|
|
||||||
|
|
||||||
<!-- Translation thumb -->
|
|
||||||
<SolidColorBrush x:Key="TranslationThumbBackgroundBrush" Color="Transparent" />
|
|
||||||
|
|
||||||
<LinearGradientBrush x:Key="TranslationThumbBackgroundFocusedBrush" StartPoint="0,0" EndPoint="0,1">
|
|
||||||
<GradientStop Color="#2fff" Offset="1" />
|
|
||||||
<GradientStop Color="#5fff" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<LinearGradientBrush x:Key="TranslationThumbBackgroundPressedBrush" StartPoint="0,0" EndPoint="0,1">
|
|
||||||
<GradientStop Color="#1fff" Offset="1" />
|
|
||||||
<GradientStop Color="#3fff" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<LinearGradientBrush x:Key="TranslationThumbBorderBrush" StartPoint="0,0" EndPoint="0,1" >
|
|
||||||
<GradientStop Color="#2fff" Offset="1" />
|
|
||||||
<GradientStop Color="#5fff" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<!-- Drum name background -->
|
|
||||||
<LinearGradientBrush x:Key="DrumNameBackgroundBrush" StartPoint="0,0" EndPoint="0,1">
|
|
||||||
<GradientStop Color="#0000" Offset="1" />
|
|
||||||
<GradientStop Color="#2000" Offset="0.7" />
|
|
||||||
<GradientStop Color="#a000" Offset="0" />
|
|
||||||
</LinearGradientBrush>
|
|
||||||
|
|
||||||
<!-- Round thumb -->
|
|
||||||
<SolidColorBrush x:Key="RoundThumbBackgroundBrush" Color="WhiteSmoke" />
|
|
||||||
<SolidColorBrush x:Key="RoundThumbBorderBrush" Color="LightGray" />
|
|
||||||
<SolidColorBrush x:Key="RoundThumbForegroundBrush" Color="Gray" />
|
|
||||||
|
|
||||||
<!-- Rotation thumb -->
|
|
||||||
<SolidColorBrush x:Key="RotationTranslationThumbBackgroundBrush" Color="Coral" />
|
|
||||||
<SolidColorBrush x:Key="RotationTranslationThumbBorderBrush" Color="LightCoral" />
|
|
||||||
<SolidColorBrush x:Key="RotationDrumForegroundBrush" Color="Brown" />
|
|
||||||
|
|
||||||
<!-- Translation thumb style -->
|
|
||||||
<Style x:Name="TranslationThumbStyle" TargetType="Thumb">
|
|
||||||
<Setter Property="Background" Value="{StaticResource TranslationThumbBackgroundBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource TranslationThumbBorderBrush}" />
|
|
||||||
<Setter Property="BorderThickness" Value="1" />
|
|
||||||
<Setter Property="VerticalAlignment" Value="Stretch" />
|
|
||||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Thumb">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
|
||||||
<VisualState x:Name="Normal" >
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="normalRectangle"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="PointerOver">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="focusedRectangle"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Pressed">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="pressedRectangle"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<Rectangle Name="normalRectangle"
|
|
||||||
Fill="{TemplateBinding Background}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Opacity="0" />
|
|
||||||
|
|
||||||
<Rectangle Name="focusedRectangle"
|
|
||||||
Fill="{StaticResource TranslationThumbBackgroundFocusedBrush}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Opacity="0" />
|
|
||||||
|
|
||||||
<Rectangle Name="pressedRectangle"
|
|
||||||
Fill="{StaticResource TranslationThumbBackgroundPressedBrush}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Opacity="0" />
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
<!-- Round thumb style -->
|
|
||||||
<Style x:Key="RoundThumbStyle" TargetType="Thumb">
|
|
||||||
<Setter Property="Background" Value="{StaticResource RoundThumbBackgroundBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource RoundThumbBorderBrush}" />
|
|
||||||
<Setter Property="BorderThickness" Value="1" />
|
|
||||||
<Setter Property="Foreground" Value="{StaticResource RoundThumbForegroundBrush}" />
|
|
||||||
<Setter Property="Height" Value="16" />
|
|
||||||
<Setter Property="Width" Value="16" />
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Thumb">
|
|
||||||
<Grid>
|
|
||||||
<Ellipse
|
|
||||||
Fill="{TemplateBinding Background}"
|
|
||||||
Stroke="{TemplateBinding BorderBrush}"
|
|
||||||
StrokeThickness="{TemplateBinding BorderThickness}" />
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
Foreground="{TemplateBinding Foreground}"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
Text="{TemplateBinding Tag}"/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
<!-- Rotation thumb style -->
|
|
||||||
<Style x:Key="RotationThumbStyle" TargetType="Thumb" BasedOn="{StaticResource RoundThumbStyle}" >
|
|
||||||
<Setter Property="Background" Value="{StaticResource RotationTranslationThumbBackgroundBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{StaticResource RotationTranslationThumbBorderBrush}" />
|
|
||||||
<Setter Property="Foreground" Value="{StaticResource RotationDrumForegroundBrush}" />
|
|
||||||
<Setter Property="FontFamily" Value="{StaticResource SymbolThemeFontFamily}" />
|
|
||||||
<Setter Property="FontSize" Value="10" />
|
|
||||||
<Setter Property="FontStyle" Value="Normal" />
|
|
||||||
<Setter Property="Tag" Value="" />
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
</UserControl.Resources>
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
<Grid Name="rotateGrid" IsHitTestVisible="False">
|
|
||||||
|
|
||||||
<Image Name="image" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch" />
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<Border HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
IsHitTestVisible="False"
|
|
||||||
Background="{StaticResource DrumNameBackgroundBrush}">
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
IsHitTestVisible="False"
|
|
||||||
Name="nameText" HorizontalAlignment="Center"
|
|
||||||
Style="{StaticResource TitleTextStyle}"
|
|
||||||
Margin="0,2,0,16"/>
|
|
||||||
|
|
||||||
</Border>
|
|
||||||
|
|
||||||
<Border BorderBrush="Black" BorderThickness="1">
|
|
||||||
|
|
||||||
<Thumb x:ConnectionId='4'
|
|
||||||
Name="translationThumb"
|
|
||||||
Style="{StaticResource TranslationThumbStyle}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</Border>
|
|
||||||
|
|
||||||
<Thumb x:ConnectionId='2'
|
|
||||||
Name="rotationThumb"
|
|
||||||
Style="{StaticResource RotationThumbStyle}"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
|
|
||||||
>
|
|
||||||
|
|
||||||
</Thumb>
|
|
||||||
|
|
||||||
<Thumb x:ConnectionId='3'
|
|
||||||
Name="scaleThumb" Grid.Row="1"
|
|
||||||
Style="{StaticResource RoundThumbStyle}"
|
|
||||||
HorizontalAlignment="Right"
|
|
||||||
VerticalAlignment="Bottom"
|
|
||||||
>
|
|
||||||
|
|
||||||
<Thumb.RenderTransform>
|
|
||||||
<TranslateTransform X="8" Y="8" />
|
|
||||||
</Thumb.RenderTransform>
|
|
||||||
|
|
||||||
</Thumb>
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,66 +0,0 @@
|
|||||||
<UserControl
|
|
||||||
x:Class="DrumKit.DrumPlayUI"
|
|
||||||
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="300"
|
|
||||||
d:DesignWidth="400">
|
|
||||||
|
|
||||||
<Grid x:ConnectionId='1' Name="grid" Background="Transparent"
|
|
||||||
>
|
|
||||||
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<VisualStateGroup x:Name="DrumGroups">
|
|
||||||
|
|
||||||
<VisualState x:Name="DrumNormal">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="imagePressed"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
BeginTime="0:0:0.1" Duration="0:0:0.7" To="0" >
|
|
||||||
<DoubleAnimation.EasingFunction>
|
|
||||||
<SineEase EasingMode="EaseInOut" />
|
|
||||||
</DoubleAnimation.EasingFunction>
|
|
||||||
</DoubleAnimation>
|
|
||||||
|
|
||||||
<DoubleAnimation Storyboard.TargetName="image"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0:0:0.3" To="1" >
|
|
||||||
<DoubleAnimation.EasingFunction>
|
|
||||||
<SineEase EasingMode="EaseIn" />
|
|
||||||
</DoubleAnimation.EasingFunction>
|
|
||||||
</DoubleAnimation>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
|
|
||||||
<VisualState x:Name="DrumHit">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="imagePressed"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To="1" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="image"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0" To=".3" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
|
|
||||||
|
|
||||||
</VisualStateGroup>
|
|
||||||
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<Image Name="image" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch" />
|
|
||||||
|
|
||||||
<Image Name="imagePressed" IsHitTestVisible="False"
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch"
|
|
||||||
Opacity="0" />
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</UserControl>
|
|
||||||
|
|
@ -1,105 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Class="DrumKit.DrumkitManagerPage"
|
|
||||||
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">
|
|
||||||
|
|
||||||
<Page.Resources>
|
|
||||||
<Style x:Key="TabRadioButtonStyle" TargetType="RadioButton">
|
|
||||||
<Setter Property="FontSize" Value="26.667"/>
|
|
||||||
<Setter Property="FontWeight" Value="Light"/>
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="RadioButton">
|
|
||||||
<Border Padding="10,5,10,5">
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CheckStates">
|
|
||||||
<VisualStateGroup.Transitions>
|
|
||||||
<VisualTransition GeneratedDuration="0:0:0.2"/>
|
|
||||||
</VisualStateGroup.Transitions>
|
|
||||||
<VisualState x:Name="Checked">
|
|
||||||
<Storyboard>
|
|
||||||
<ColorAnimation Duration="0" To="#59FFFF" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Unchecked">
|
|
||||||
<Storyboard>
|
|
||||||
<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Indeterminate">
|
|
||||||
<Storyboard>
|
|
||||||
<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(ContentPresenter.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
<VisualStateGroup x:Name="FocusStates"/>
|
|
||||||
<VisualStateGroup x:Name="CommonStates"/>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<ContentPresenter x:Name="contentPresenter"/>
|
|
||||||
</Border>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
</Page.Resources>
|
|
||||||
|
|
||||||
<Page.Transitions>
|
|
||||||
<TransitionCollection>
|
|
||||||
<EntranceThemeTransition />
|
|
||||||
</TransitionCollection>
|
|
||||||
</Page.Transitions>
|
|
||||||
|
|
||||||
<Border Background="{StaticResource ApplicationPageBackgroundThemeBrush}"
|
|
||||||
Padding="40">
|
|
||||||
<Grid >
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
<ColumnDefinition Width="2*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Button x:ConnectionId='1' Name="buttonBack" Grid.Row="0" Grid.Column="0"
|
|
||||||
Style="{StaticResource BackButtonStyle}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<StackPanel Grid.Row="0" Grid.Column="1"
|
|
||||||
Orientation="Horizontal"
|
|
||||||
VerticalAlignment="Top">
|
|
||||||
<StackPanel.ChildrenTransitions>
|
|
||||||
<TransitionCollection>
|
|
||||||
<EntranceThemeTransition />
|
|
||||||
</TransitionCollection>
|
|
||||||
</StackPanel.ChildrenTransitions>
|
|
||||||
<RadioButton Name="radioDrumkit"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}"
|
|
||||||
IsChecked="True">
|
|
||||||
Drumkits
|
|
||||||
</RadioButton>
|
|
||||||
<RadioButton Name="radioDrums"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}">
|
|
||||||
Drums
|
|
||||||
</RadioButton>
|
|
||||||
<RadioButton Name="radioLayouts"
|
|
||||||
Style="{StaticResource TabRadioButtonStyle}">
|
|
||||||
Layouts
|
|
||||||
</RadioButton>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<ListView Name="mainList" Grid.Row="1" Grid.Column="0" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</Border>
|
|
||||||
</Page>
|
|
||||||
|
|