# HG changeset patch
# User sarias
# Date 1248821757 -7200
# Node ID 06de3a61998f114abf1a3d703357cdf55e5ebe91
# Parent 9bd58e02b6a93966ef18cbb58ea43e48789439dc
Ajout des projets: Menu , UserPanel et TimeLine
+ debut de travail sur le Projet Control Menu
+ .hgignore
diff -r 9bd58e02b6a9 -r 06de3a61998f .hgignore
--- a/.hgignore Thu Jul 16 22:52:01 2009 +0200
+++ b/.hgignore Wed Jul 29 00:55:57 2009 +0200
@@ -12,3 +12,9 @@
glob:src/FingersDance.Control.Player/bin/*
glob:src/FingersDance/FingersDance.suo
glob:src/FingersDance/FingersDance.sln.cache
+glob:src/FingersDance.Control.Menu/bin/*
+glob:src/FingersDance.Control.Menu/obj/*
+glob:src/FingersDance.Control.UserPanel/obj/*
+glob:src/FingersDance.Control.UserPanel/bin/*
+glob:src/FingersDance.Control.TimeLine/bin/*
+glob:src/FingersDance.Control.TimeLine/obj/*
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/App.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/App.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/App.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/App.xaml.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Windows;
+
+namespace FingersDance.Control.Menu
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+
+ }
+}
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/FingersDance.Control.Menu.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/FingersDance.Control.Menu.csproj Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,126 @@
+
+
+ Debug
+ AnyCPU
+ {6960F7ED-3D82-4BCE-AB88-D31D6C72F2B6}
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ FingersDance.Control.Menu
+ FingersDance.Control.Menu
+ v3.5
+ 4
+ winexe
+ true
+ Web
+ true
+ Foreground
+ 7
+ Days
+ false
+ false
+ false
+ 1.0.0.*
+ true
+ true
+ Publish\
+ OnBuildSuccess
+
+
+ true
+ full
+ false
+ .\bin\Debug\
+ DEBUG;TRACE
+
+
+ false
+ true
+ .\bin\Release\
+ TRACE
+
+
+
+
+ 3.5
+
+
+ 3.5
+
+
+ 3.5
+
+
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ UserControlMenu.xaml
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+
+
+
+ ResXFileCodeGenerator
+ Designer
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ True
+ Settings.settings
+
+
+ SurfaceMenuTest.xaml
+
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/FingersDance.Control.Menu.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/FingersDance.Control.Menu.xml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,64 @@
+
+
+
+
+
+ FingersDance.Control.Menu
+ FingersDance.Control.Menu
+ FingersDance.Control.Menu.exe
+
+ Resources\icon.png
+
+ Resources\iconPreview.png
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/Properties/AssemblyInfo.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,62 @@
+#region Using directives
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Resources;
+using System.Globalization;
+using System.Windows;
+using System.Runtime.InteropServices;
+
+#endregion
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("FingersDance.Control.Menu")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FingersDance.Control.Menu")]
+[assembly: AssemblyCopyright("Copyright @ 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+// Specifies the location in which theme dictionaries are stored for types in an assembly.
+[assembly: ThemeInfo(
+ // Specifies the location of system theme-specific resource dictionaries for this project.
+ // The default setting in this project is "None" since this default project does not
+ // include these user-defined theme files:
+ // Themes\Aero.NormalColor.xaml
+ // Themes\Classic.xaml
+ // Themes\Luna.Homestead.xaml
+ // Themes\Luna.Metallic.xaml
+ // Themes\Luna.NormalColor.xaml
+ // Themes\Royale.NormalColor.xaml
+ ResourceDictionaryLocation.None,
+
+ // Specifies the location of the system non-theme specific resource dictionary:
+ // Themes\generic.xaml
+ ResourceDictionaryLocation.SourceAssembly)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.*")]
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Properties/Resources.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/Properties/Resources.Designer.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3074
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.Menu.Properties
+{
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if (object.ReferenceEquals(resourceMan, null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WPFAppTemplate.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Properties/Resources.resx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/Properties/Resources.resx Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Properties/Settings.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/Properties/Settings.Designer.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3074
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.Menu.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Properties/Settings.settings
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/Properties/Settings.settings Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Resources/WindowBackground.jpg
Binary file src/FingersDance.Control.Menu/Resources/WindowBackground.jpg has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Resources/icon.png
Binary file src/FingersDance.Control.Menu/Resources/icon.png has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Resources/iconPreview.png
Binary file src/FingersDance.Control.Menu/Resources/iconPreview.png has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/Simple Styles.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/Simple Styles.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,1121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/SurfaceMenuTest.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/SurfaceMenuTest.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/SurfaceMenuTest.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/SurfaceMenuTest.xaml.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,103 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+using Microsoft.Surface;
+using Microsoft.Surface.Presentation;
+using Microsoft.Surface.Presentation.Controls;
+
+namespace FingersDance.Control.Menu
+{
+ ///
+ /// Interaction logic for SurfaceWindow1.xaml
+ ///
+ public partial class SurfaceWindow1 : SurfaceWindow
+ {
+ ///
+ /// Default constructor.
+ ///
+ public SurfaceWindow1()
+ {
+ InitializeComponent();
+
+ // Add handlers for Application activation events
+ AddActivationHandlers();
+ }
+
+
+ ///
+ /// Occurs when the window is about to close.
+ ///
+ ///
+ protected override void OnClosed(EventArgs e)
+ {
+ base.OnClosed(e);
+
+ // Remove handlers for Application activation events
+ RemoveActivationHandlers();
+ }
+
+ ///
+ /// Adds handlers for Application activation events.
+ ///
+ private void AddActivationHandlers()
+ {
+ // Subscribe to surface application activation events
+ ApplicationLauncher.ApplicationActivated += OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed += OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated += OnApplicationDeactivated;
+ }
+
+ ///
+ /// Removes handlers for Application activation events.
+ ///
+ private void RemoveActivationHandlers()
+ {
+ // Unsubscribe from surface application activation events
+ ApplicationLauncher.ApplicationActivated -= OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed -= OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated -= OnApplicationDeactivated;
+ }
+
+ ///
+ /// This is called when application has been activated.
+ ///
+ ///
+ ///
+ private void OnApplicationActivated(object sender, EventArgs e)
+ {
+ //TODO: enable audio, animations here
+ }
+
+ ///
+ /// This is called when application is in preview mode.
+ ///
+ ///
+ ///
+ private void OnApplicationPreviewed(object sender, EventArgs e)
+ {
+ //TODO: Disable audio here if it is enabled
+
+ //TODO: optionally enable animations here
+ }
+
+ ///
+ /// This is called when application has been deactivated.
+ ///
+ ///
+ ///
+ private void OnApplicationDeactivated(object sender, EventArgs e)
+ {
+ //TODO: disable audio, animations here
+ }
+ }
+}
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/UserControlMenu.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/UserControlMenu.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.Menu/UserControlMenu.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.Menu/UserControlMenu.xaml.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,78 @@
+using System;
+using System.IO;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Navigation;
+
+namespace FingersDance.Control.Menu
+{
+ public partial class UserControlMenu
+ {
+ public UserControlMenu()
+ {
+ this.InitializeComponent();
+ initChildSize();
+
+ // Insert code required on object creation below this point.
+ }
+
+ //Premet de deplacer les sous menus vers la droite pour avoir un effect tree view
+ private void initChildSize()
+ {
+ PanelAnnotation.Width -= 0.20*this.Width;
+ PanelRecherche.Width -= 0.20 * this.Width;
+ }
+
+ private void ButtonAnnotation_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+ {
+ if (PanelAnnotation.Visibility == Visibility.Collapsed)
+ {
+ PanelAnnotation.Visibility = Visibility.Visible;
+ }
+ else
+ {
+ PanelAnnotation.Visibility = Visibility.Collapsed;
+ }
+ }
+
+ private void ButtonRecherche_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+ {
+ if (PanelRecherche.Visibility == Visibility.Collapsed)
+ {
+ PanelRecherche.Visibility = Visibility.Visible;
+ }
+ else
+ {
+ PanelRecherche.Visibility = Visibility.Collapsed;
+ }
+ }
+
+ private void ButtonAnnotation_Click(object sender, RoutedEventArgs e)
+ {
+ if (PanelAnnotation.Visibility == Visibility.Collapsed)
+ {
+ PanelAnnotation.Visibility = Visibility.Visible;
+ }
+ else
+ {
+ PanelAnnotation.Visibility = Visibility.Collapsed;
+ }
+ }
+
+ private void ButtonRecherche_Click(object sender, RoutedEventArgs e)
+ {
+ if (PanelRecherche.Visibility == Visibility.Collapsed)
+ {
+ PanelRecherche.Visibility = Visibility.Visible;
+ }
+ else
+ {
+ PanelRecherche.Visibility = Visibility.Collapsed;
+ }
+ }
+ }
+}
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/App.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/App.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/App.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/App.xaml.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Windows;
+
+namespace FingersDance.Control.TimeLine
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+
+ }
+}
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/FingersDance.Control.TimeLine.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/FingersDance.Control.TimeLine.csproj Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,115 @@
+
+
+ Debug
+ AnyCPU
+ {2BCEE1BF-D3AC-478C-A26B-DFDB7420E965}
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ FingersDance.Control.TimeLine
+ FingersDance.Control.TimeLine
+ v3.5
+ 4
+ winexe
+ true
+ Web
+ true
+ Foreground
+ 7
+ Days
+ false
+ false
+ false
+ 1.0.0.*
+ true
+ true
+ Publish\
+ OnBuildSuccess
+
+
+ true
+ full
+ false
+ .\bin\Debug\
+ DEBUG;TRACE
+
+
+ false
+ true
+ .\bin\Release\
+ TRACE
+
+
+
+
+ 3.5
+
+
+ 3.5
+
+
+ 3.5
+
+
+
+
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+
+
+
+ ResXFileCodeGenerator
+ Designer
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ True
+ Settings.settings
+
+
+ SurfaceWindow1.xaml
+
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/FingersDance.Control.TimeLine.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/FingersDance.Control.TimeLine.xml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,64 @@
+
+
+
+
+
+ FingersDance.Control.TimeLine
+ FingersDance.Control.TimeLine
+ FingersDance.Control.TimeLine.exe
+
+ Resources\icon.png
+
+ Resources\iconPreview.png
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/Properties/AssemblyInfo.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,62 @@
+#region Using directives
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Resources;
+using System.Globalization;
+using System.Windows;
+using System.Runtime.InteropServices;
+
+#endregion
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("FingersDance.Control.TimeLine")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FingersDance.Control.TimeLine")]
+[assembly: AssemblyCopyright("Copyright @ 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+// Specifies the location in which theme dictionaries are stored for types in an assembly.
+[assembly: ThemeInfo(
+ // Specifies the location of system theme-specific resource dictionaries for this project.
+ // The default setting in this project is "None" since this default project does not
+ // include these user-defined theme files:
+ // Themes\Aero.NormalColor.xaml
+ // Themes\Classic.xaml
+ // Themes\Luna.Homestead.xaml
+ // Themes\Luna.Metallic.xaml
+ // Themes\Luna.NormalColor.xaml
+ // Themes\Royale.NormalColor.xaml
+ ResourceDictionaryLocation.None,
+
+ // Specifies the location of the system non-theme specific resource dictionary:
+ // Themes\generic.xaml
+ ResourceDictionaryLocation.SourceAssembly)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.*")]
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Properties/Resources.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/Properties/Resources.Designer.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3074
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.TimeLine.Properties
+{
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if (object.ReferenceEquals(resourceMan, null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WPFAppTemplate.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Properties/Resources.resx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/Properties/Resources.resx Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Properties/Settings.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/Properties/Settings.Designer.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3074
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.TimeLine.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Properties/Settings.settings
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/Properties/Settings.settings Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Resources/WindowBackground.jpg
Binary file src/FingersDance.Control.TimeLine/Resources/WindowBackground.jpg has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Resources/icon.png
Binary file src/FingersDance.Control.TimeLine/Resources/icon.png has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/Resources/iconPreview.png
Binary file src/FingersDance.Control.TimeLine/Resources/iconPreview.png has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/SurfaceWindow1.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/SurfaceWindow1.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.TimeLine/SurfaceWindow1.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/SurfaceWindow1.xaml.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,103 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+using Microsoft.Surface;
+using Microsoft.Surface.Presentation;
+using Microsoft.Surface.Presentation.Controls;
+
+namespace FingersDance.Control.TimeLine
+{
+ ///
+ /// Interaction logic for SurfaceWindow1.xaml
+ ///
+ public partial class SurfaceWindow1 : SurfaceWindow
+ {
+ ///
+ /// Default constructor.
+ ///
+ public SurfaceWindow1()
+ {
+ InitializeComponent();
+
+ // Add handlers for Application activation events
+ AddActivationHandlers();
+ }
+
+
+ ///
+ /// Occurs when the window is about to close.
+ ///
+ ///
+ protected override void OnClosed(EventArgs e)
+ {
+ base.OnClosed(e);
+
+ // Remove handlers for Application activation events
+ RemoveActivationHandlers();
+ }
+
+ ///
+ /// Adds handlers for Application activation events.
+ ///
+ private void AddActivationHandlers()
+ {
+ // Subscribe to surface application activation events
+ ApplicationLauncher.ApplicationActivated += OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed += OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated += OnApplicationDeactivated;
+ }
+
+ ///
+ /// Removes handlers for Application activation events.
+ ///
+ private void RemoveActivationHandlers()
+ {
+ // Unsubscribe from surface application activation events
+ ApplicationLauncher.ApplicationActivated -= OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed -= OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated -= OnApplicationDeactivated;
+ }
+
+ ///
+ /// This is called when application has been activated.
+ ///
+ ///
+ ///
+ private void OnApplicationActivated(object sender, EventArgs e)
+ {
+ //TODO: enable audio, animations here
+ }
+
+ ///
+ /// This is called when application is in preview mode.
+ ///
+ ///
+ ///
+ private void OnApplicationPreviewed(object sender, EventArgs e)
+ {
+ //TODO: Disable audio here if it is enabled
+
+ //TODO: optionally enable animations here
+ }
+
+ ///
+ /// This is called when application has been deactivated.
+ ///
+ ///
+ ///
+ private void OnApplicationDeactivated(object sender, EventArgs e)
+ {
+ //TODO: disable audio, animations here
+ }
+ }
+}
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/App.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/App.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/App.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/App.xaml.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Windows;
+
+namespace FingersDance.Control.UserPanel
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+
+ }
+}
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/FingersDance.Control.UserPanel.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/FingersDance.Control.UserPanel.csproj Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,115 @@
+
+
+ Debug
+ AnyCPU
+ {E6A3A067-1CB4-43D2-BB9C-DC72361F7E22}
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ FingersDance.Control.UserPanel
+ FingersDance.Control.UserPanel
+ v3.5
+ 4
+ winexe
+ true
+ Web
+ true
+ Foreground
+ 7
+ Days
+ false
+ false
+ false
+ 1.0.0.*
+ true
+ true
+ Publish\
+ OnBuildSuccess
+
+
+ true
+ full
+ false
+ .\bin\Debug\
+ DEBUG;TRACE
+
+
+ false
+ true
+ .\bin\Release\
+ TRACE
+
+
+
+
+ 3.5
+
+
+ 3.5
+
+
+ 3.5
+
+
+
+
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+
+
+
+ ResXFileCodeGenerator
+ Designer
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ True
+ Settings.settings
+
+
+ SurfaceWindow1.xaml
+
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/FingersDance.Control.UserPanel.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/FingersDance.Control.UserPanel.xml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,64 @@
+
+
+
+
+
+ FingersDance.Control.UserPanel
+ FingersDance.Control.UserPanel
+ FingersDance.Control.UserPanel.exe
+
+ Resources\icon.png
+
+ Resources\iconPreview.png
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/Properties/AssemblyInfo.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,62 @@
+#region Using directives
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Resources;
+using System.Globalization;
+using System.Windows;
+using System.Runtime.InteropServices;
+
+#endregion
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("FingersDance.Control.UserPanel")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FingersDance.Control.UserPanel")]
+[assembly: AssemblyCopyright("Copyright @ 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+// Specifies the location in which theme dictionaries are stored for types in an assembly.
+[assembly: ThemeInfo(
+ // Specifies the location of system theme-specific resource dictionaries for this project.
+ // The default setting in this project is "None" since this default project does not
+ // include these user-defined theme files:
+ // Themes\Aero.NormalColor.xaml
+ // Themes\Classic.xaml
+ // Themes\Luna.Homestead.xaml
+ // Themes\Luna.Metallic.xaml
+ // Themes\Luna.NormalColor.xaml
+ // Themes\Royale.NormalColor.xaml
+ ResourceDictionaryLocation.None,
+
+ // Specifies the location of the system non-theme specific resource dictionary:
+ // Themes\generic.xaml
+ ResourceDictionaryLocation.SourceAssembly)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.*")]
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Properties/Resources.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/Properties/Resources.Designer.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3074
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.UserPanel.Properties
+{
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if (object.ReferenceEquals(resourceMan, null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WPFAppTemplate.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Properties/Resources.resx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/Properties/Resources.resx Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Properties/Settings.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/Properties/Settings.Designer.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3074
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.UserPanel.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Properties/Settings.settings
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/Properties/Settings.settings Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Resources/WindowBackground.jpg
Binary file src/FingersDance.Control.UserPanel/Resources/WindowBackground.jpg has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Resources/icon.png
Binary file src/FingersDance.Control.UserPanel/Resources/icon.png has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/Resources/iconPreview.png
Binary file src/FingersDance.Control.UserPanel/Resources/iconPreview.png has changed
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/SurfaceWindow1.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/SurfaceWindow1.xaml Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance.Control.UserPanel/SurfaceWindow1.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.UserPanel/SurfaceWindow1.xaml.cs Wed Jul 29 00:55:57 2009 +0200
@@ -0,0 +1,103 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+using Microsoft.Surface;
+using Microsoft.Surface.Presentation;
+using Microsoft.Surface.Presentation.Controls;
+
+namespace FingersDance.Control.UserPanel
+{
+ ///
+ /// Interaction logic for SurfaceWindow1.xaml
+ ///
+ public partial class SurfaceWindow1 : SurfaceWindow
+ {
+ ///
+ /// Default constructor.
+ ///
+ public SurfaceWindow1()
+ {
+ InitializeComponent();
+
+ // Add handlers for Application activation events
+ AddActivationHandlers();
+ }
+
+
+ ///
+ /// Occurs when the window is about to close.
+ ///
+ ///
+ protected override void OnClosed(EventArgs e)
+ {
+ base.OnClosed(e);
+
+ // Remove handlers for Application activation events
+ RemoveActivationHandlers();
+ }
+
+ ///
+ /// Adds handlers for Application activation events.
+ ///
+ private void AddActivationHandlers()
+ {
+ // Subscribe to surface application activation events
+ ApplicationLauncher.ApplicationActivated += OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed += OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated += OnApplicationDeactivated;
+ }
+
+ ///
+ /// Removes handlers for Application activation events.
+ ///
+ private void RemoveActivationHandlers()
+ {
+ // Unsubscribe from surface application activation events
+ ApplicationLauncher.ApplicationActivated -= OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed -= OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated -= OnApplicationDeactivated;
+ }
+
+ ///
+ /// This is called when application has been activated.
+ ///
+ ///
+ ///
+ private void OnApplicationActivated(object sender, EventArgs e)
+ {
+ //TODO: enable audio, animations here
+ }
+
+ ///
+ /// This is called when application is in preview mode.
+ ///
+ ///
+ ///
+ private void OnApplicationPreviewed(object sender, EventArgs e)
+ {
+ //TODO: Disable audio here if it is enabled
+
+ //TODO: optionally enable animations here
+ }
+
+ ///
+ /// This is called when application has been deactivated.
+ ///
+ ///
+ ///
+ private void OnApplicationDeactivated(object sender, EventArgs e)
+ {
+ //TODO: disable audio, animations here
+ }
+ }
+}
\ No newline at end of file
diff -r 9bd58e02b6a9 -r 06de3a61998f src/FingersDance/FingersDance.sln
--- a/src/FingersDance/FingersDance.sln Thu Jul 16 22:52:01 2009 +0200
+++ b/src/FingersDance/FingersDance.sln Wed Jul 29 00:55:57 2009 +0200
@@ -13,6 +13,12 @@
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingersDance", "FingersDance.csproj", "{2E4DE79B-67F4-4803-8C9A-5708B4335353}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingersDance.Control.UserPanel", "..\FingersDance.Control.UserPanel\FingersDance.Control.UserPanel.csproj", "{E6A3A067-1CB4-43D2-BB9C-DC72361F7E22}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingersDance.Control.Menu", "..\FingersDance.Control.Menu\FingersDance.Control.Menu.csproj", "{6960F7ED-3D82-4BCE-AB88-D31D6C72F2B6}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingersDance.Control.TimeLine", "..\FingersDance.Control.TimeLine\FingersDance.Control.TimeLine.csproj", "{2BCEE1BF-D3AC-478C-A26B-DFDB7420E965}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -43,6 +49,18 @@
{2E4DE79B-67F4-4803-8C9A-5708B4335353}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2E4DE79B-67F4-4803-8C9A-5708B4335353}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2E4DE79B-67F4-4803-8C9A-5708B4335353}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E6A3A067-1CB4-43D2-BB9C-DC72361F7E22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E6A3A067-1CB4-43D2-BB9C-DC72361F7E22}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E6A3A067-1CB4-43D2-BB9C-DC72361F7E22}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E6A3A067-1CB4-43D2-BB9C-DC72361F7E22}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6960F7ED-3D82-4BCE-AB88-D31D6C72F2B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6960F7ED-3D82-4BCE-AB88-D31D6C72F2B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6960F7ED-3D82-4BCE-AB88-D31D6C72F2B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6960F7ED-3D82-4BCE-AB88-D31D6C72F2B6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2BCEE1BF-D3AC-478C-A26B-DFDB7420E965}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2BCEE1BF-D3AC-478C-A26B-DFDB7420E965}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2BCEE1BF-D3AC-478C-A26B-DFDB7420E965}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2BCEE1BF-D3AC-478C-A26B-DFDB7420E965}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE