-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Acky
committed
Mar 30, 2014
1 parent
9ea5cd8
commit bc6892b
Showing
50 changed files
with
11,696 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Express 2013 for Windows | ||
VisualStudioVersion = 12.0.21005.1 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LangtonLoop", "LangtonLoop\LangtonLoop.csproj", "{07211E28-9752-473A-9FAE-FC8995145AFF}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|ARM = Debug|ARM | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|ARM = Release|ARM | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|ARM.ActiveCfg = Debug|ARM | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|ARM.Build.0 = Debug|ARM | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|ARM.Deploy.0 = Debug|ARM | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|x64.ActiveCfg = Debug|x64 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|x64.Build.0 = Debug|x64 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|x64.Deploy.0 = Debug|x64 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|x86.ActiveCfg = Debug|x86 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|x86.Build.0 = Debug|x86 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Debug|x86.Deploy.0 = Debug|x86 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|ARM.ActiveCfg = Release|ARM | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|ARM.Build.0 = Release|ARM | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|ARM.Deploy.0 = Release|ARM | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|x64.ActiveCfg = Release|x64 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|x64.Build.0 = Release|x64 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|x64.Deploy.0 = Release|x64 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|x86.ActiveCfg = Release|x86 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|x86.Build.0 = Release|x86 | ||
{07211E28-9752-473A-9FAE-FC8995145AFF}.Release|x86.Deploy.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Application | ||
x:Class="LangtonLoop.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:LangtonLoop"> | ||
|
||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.ApplicationModel; | ||
using Windows.ApplicationModel.Activation; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Windows.UI.Xaml; | ||
using Windows.UI.Xaml.Controls; | ||
using Windows.UI.Xaml.Controls.Primitives; | ||
using Windows.UI.Xaml.Data; | ||
using Windows.UI.Xaml.Input; | ||
using Windows.UI.Xaml.Media; | ||
using Windows.UI.Xaml.Navigation; | ||
|
||
// 空のアプリケーション テンプレートについては、http://go.microsoft.com/fwlink/?LinkId=234227 を参照してください | ||
|
||
namespace LangtonLoop | ||
{ | ||
/// <summary> | ||
/// 既定の Application クラスに対してアプリケーション独自の動作を実装します。 | ||
/// </summary> | ||
sealed partial class App : Application | ||
{ | ||
/// <summary> | ||
/// 単一アプリケーション オブジェクトを初期化します。これは、実行される作成したコードの | ||
/// 最初の行であり、main() または WinMain() と論理的に等価です。 | ||
/// </summary> | ||
public App() | ||
{ | ||
this.InitializeComponent(); | ||
this.Suspending += OnSuspending; | ||
} | ||
|
||
/// <summary> | ||
/// アプリケーションがエンド ユーザーによって正常に起動されたときに呼び出されます。他のエントリ ポイントは、 | ||
/// アプリケーションが特定のファイルを開くために呼び出されたときなどに使用されます。 | ||
/// </summary> | ||
/// <param name="e">起動要求とプロセスの詳細を表示します。</param> | ||
protected override void OnLaunched(LaunchActivatedEventArgs e) | ||
{ | ||
|
||
#if DEBUG | ||
if (System.Diagnostics.Debugger.IsAttached) | ||
{ | ||
this.DebugSettings.EnableFrameRateCounter = true; | ||
} | ||
#endif | ||
|
||
Frame rootFrame = Window.Current.Content as Frame; | ||
|
||
// ウィンドウに既にコンテンツが表示されている場合は、アプリケーションの初期化を繰り返さずに、 | ||
// ウィンドウがアクティブであることだけを確認してください | ||
if (rootFrame == null) | ||
{ | ||
// ナビゲーション コンテキストとして動作するフレームを作成し、最初のページに移動します | ||
rootFrame = new Frame(); | ||
// 既定の言語を設定します | ||
rootFrame.Language = Windows.Globalization.ApplicationLanguages.Languages[0]; | ||
|
||
rootFrame.NavigationFailed += OnNavigationFailed; | ||
|
||
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) | ||
{ | ||
//TODO: 以前中断したアプリケーションから状態を読み込みます。 | ||
} | ||
|
||
// フレームを現在のウィンドウに配置します | ||
Window.Current.Content = rootFrame; | ||
} | ||
|
||
if (rootFrame.Content == null) | ||
{ | ||
// ナビゲーションの履歴スタックが復元されていない場合、最初のページに移動します。 | ||
// このとき、必要な情報をナビゲーション パラメーターとして渡して、新しいページを | ||
// 作成します | ||
rootFrame.Navigate(typeof(MainPage), e.Arguments); | ||
} | ||
// 現在のウィンドウがアクティブであることを確認します | ||
Window.Current.Activate(); | ||
} | ||
|
||
/// <summary> | ||
/// 特定のページへの移動が失敗したときに呼び出されます | ||
/// </summary> | ||
/// <param name="sender">移動に失敗したフレーム</param> | ||
/// <param name="e">ナビゲーション エラーの詳細</param> | ||
void OnNavigationFailed(object sender, NavigationFailedEventArgs e) | ||
{ | ||
throw new Exception("Failed to load Page " + e.SourcePageType.FullName); | ||
} | ||
|
||
/// <summary> | ||
/// アプリケーションの実行が中断されたときに呼び出されます。アプリケーションの状態は、 | ||
/// アプリケーションが終了されるのか、メモリの内容がそのままで再開されるのか | ||
/// わからない状態で保存されます。 | ||
/// </summary> | ||
/// <param name="sender">中断要求の送信元。</param> | ||
/// <param name="e">中断要求の詳細。</param> | ||
private void OnSuspending(object sender, SuspendingEventArgs e) | ||
{ | ||
var deferral = e.SuspendingOperation.GetDeferral(); | ||
//TODO: アプリケーションの状態を保存してバックグラウンドの動作があれば停止します | ||
deferral.Complete(); | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{07211E28-9752-473A-9FAE-FC8995145AFF}</ProjectGuid> | ||
<OutputType>AppContainerExe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>LangtonLoop</RootNamespace> | ||
<AssemblyName>LangtonLoop</AssemblyName> | ||
<DefaultLanguage>ja-JP</DefaultLanguage> | ||
<TargetPlatformVersion>8.1</TargetPlatformVersion> | ||
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<PackageCertificateKeyFile>LangtonLoop_TemporaryKey.pfx</PackageCertificateKeyFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE;NETFX_CORE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<OutputPath>bin\ARM\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants> | ||
<NoWarn>;2008</NoWarn> | ||
<DebugType>full</DebugType> | ||
<PlatformTarget>ARM</PlatformTarget> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
<ErrorReport>prompt</ErrorReport> | ||
<Prefer32Bit>true</Prefer32Bit> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"> | ||
<OutputPath>bin\ARM\Release\</OutputPath> | ||
<DefineConstants>TRACE;NETFX_CORE</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<NoWarn>;2008</NoWarn> | ||
<DebugType>pdbonly</DebugType> | ||
<PlatformTarget>ARM</PlatformTarget> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
<ErrorReport>prompt</ErrorReport> | ||
<Prefer32Bit>true</Prefer32Bit> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<OutputPath>bin\x64\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants> | ||
<NoWarn>;2008</NoWarn> | ||
<DebugType>full</DebugType> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
<ErrorReport>prompt</ErrorReport> | ||
<Prefer32Bit>true</Prefer32Bit> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> | ||
<OutputPath>bin\x64\Release\</OutputPath> | ||
<DefineConstants>TRACE;NETFX_CORE</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<NoWarn>;2008</NoWarn> | ||
<DebugType>pdbonly</DebugType> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
<ErrorReport>prompt</ErrorReport> | ||
<Prefer32Bit>true</Prefer32Bit> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<OutputPath>bin\x86\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants> | ||
<NoWarn>;2008</NoWarn> | ||
<DebugType>full</DebugType> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
<ErrorReport>prompt</ErrorReport> | ||
<Prefer32Bit>true</Prefer32Bit> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | ||
<OutputPath>bin\x86\Release\</OutputPath> | ||
<DefineConstants>TRACE;NETFX_CORE</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<NoWarn>;2008</NoWarn> | ||
<DebugType>pdbonly</DebugType> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<UseVSHostingProcess>false</UseVSHostingProcess> | ||
<ErrorReport>prompt</ErrorReport> | ||
<Prefer32Bit>true</Prefer32Bit> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="App.xaml.cs"> | ||
<DependentUpon>App.xaml</DependentUpon> | ||
</Compile> | ||
<Compile Include="LangtonLoops.cs" /> | ||
<Compile Include="LangtonRules.cs" /> | ||
<Compile Include="MainPage.xaml.cs"> | ||
<DependentUpon>MainPage.xaml</DependentUpon> | ||
</Compile> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Rule.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<AppxManifest Include="Package.appxmanifest"> | ||
<SubType>Designer</SubType> | ||
</AppxManifest> | ||
<None Include="LangtonLoop_TemporaryKey.pfx" /> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Assets\Logo.scale-100.png" /> | ||
<Content Include="Assets\SmallLogo.scale-100.png" /> | ||
<Content Include="Assets\SplashScreen.scale-100.png" /> | ||
<Content Include="Assets\StoreLogo.scale-100.png" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ApplicationDefinition Include="App.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
<SubType>Designer</SubType> | ||
</ApplicationDefinition> | ||
<Page Include="MainPage.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
<SubType>Designer</SubType> | ||
</Page> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="WriteableBitmapEx.WinRT"> | ||
<HintPath>..\packages\WriteableBitmapEx.1.0.12.0\lib\NetCore45\WriteableBitmapEx.WinRT.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '12.0' "> | ||
<VisualStudioVersion>12.0</VisualStudioVersion> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
Binary file not shown.
Oops, something went wrong.