6 changed files with 0 additions and 391 deletions
@ -1,14 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<configuration> |
|
||||
<startup> |
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> |
|
||||
</startup> |
|
||||
<runtime> |
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
|
||||
<dependentAssembly> |
|
||||
<assemblyIdentity name="Mono.Cairo" publicKeyToken="0738eb9f132ed756" culture="neutral" /> |
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> |
|
||||
</dependentAssembly> |
|
||||
</assemblyBinding> |
|
||||
</runtime> |
|
||||
</configuration> |
|
||||
@ -1,209 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<Project ToolsVersion="14.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>{383168DF-5A4E-45E5-A239-FB54D40D4F5C}</ProjectGuid> |
|
||||
<OutputType>WinExe</OutputType> |
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|
||||
<RootNamespace>Perspex.Skia.Desktop.TestApp</RootNamespace> |
|
||||
<AssemblyName>Perspex.Skia.Desktop.TestApp</AssemblyName> |
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> |
|
||||
<FileAlignment>512</FileAlignment> |
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
|
||||
<NuGetPackageImportStamp> |
|
||||
</NuGetPackageImportStamp> |
|
||||
</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</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</DefineConstants> |
|
||||
<ErrorReport>prompt</ErrorReport> |
|
||||
<WarningLevel>4</WarningLevel> |
|
||||
</PropertyGroup> |
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> |
|
||||
<DebugSymbols>true</DebugSymbols> |
|
||||
<OutputPath>bin\x86\Debug\</OutputPath> |
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
||||
<DebugType>full</DebugType> |
|
||||
<PlatformTarget>x86</PlatformTarget> |
|
||||
<ErrorReport>prompt</ErrorReport> |
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
||||
<Prefer32Bit>true</Prefer32Bit> |
|
||||
</PropertyGroup> |
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> |
|
||||
<OutputPath>bin\x86\Release\</OutputPath> |
|
||||
<DefineConstants>TRACE</DefineConstants> |
|
||||
<Optimize>true</Optimize> |
|
||||
<DebugType>pdbonly</DebugType> |
|
||||
<PlatformTarget>x86</PlatformTarget> |
|
||||
<ErrorReport>prompt</ErrorReport> |
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
||||
<Prefer32Bit>true</Prefer32Bit> |
|
||||
</PropertyGroup> |
|
||||
<ItemGroup> |
|
||||
<Reference Include="Serilog, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\Serilog.1.5.14\lib\net45\Serilog.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="Serilog.FullNetFx, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\Serilog.1.5.14\lib\net45\Serilog.FullNetFx.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="SkiaSharp, Version=1.49.0.0, Culture=neutral, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\SkiaSharp.1.49.2.0-beta\lib\net45\SkiaSharp.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="System" /> |
|
||||
<Reference Include="System.Core" /> |
|
||||
<Reference Include="System.Reactive.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\Rx-Core.2.2.5\lib\net45\System.Reactive.Core.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="System.Reactive.Interfaces, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="System.Reactive.Linq, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\Rx-Linq.2.2.5\lib\net45\System.Reactive.Linq.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="System.Reactive.PlatformServices, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\Rx-PlatformServices.2.2.5\lib\net45\System.Reactive.PlatformServices.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="System.Reactive.Windows.Threading, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
|
||||
<HintPath>..\..\..\packages\Rx-XAML.2.2.5\lib\net45\System.Reactive.Windows.Threading.dll</HintPath> |
|
||||
<Private>True</Private> |
|
||||
</Reference> |
|
||||
<Reference Include="System.Xml.Linq" /> |
|
||||
<Reference Include="System.Data.DataSetExtensions" /> |
|
||||
<Reference Include="Microsoft.CSharp" /> |
|
||||
<Reference Include="System.Data" /> |
|
||||
<Reference Include="System.Deployment" /> |
|
||||
<Reference Include="System.Drawing" /> |
|
||||
<Reference Include="System.Net.Http" /> |
|
||||
<Reference Include="System.Windows.Forms" /> |
|
||||
<Reference Include="System.Xml" /> |
|
||||
<Reference Include="WindowsBase" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<Compile Include="Program.cs" /> |
|
||||
<Compile Include="Properties\AssemblyInfo.cs" /> |
|
||||
<None Include="packages.config" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<None Include="App.config" /> |
|
||||
</ItemGroup> |
|
||||
<ItemGroup> |
|
||||
<ProjectReference Include="..\..\Gtk\Perspex.Cairo\Perspex.Cairo.csproj"> |
|
||||
<Project>{fb05ac90-89ba-4f2f-a924-f37875fb547c}</Project> |
|
||||
<Name>Perspex.Cairo</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Gtk\Perspex.Gtk\Perspex.Gtk.csproj"> |
|
||||
<Project>{54f237d5-a70a-4752-9656-0c70b1a7b047}</Project> |
|
||||
<Name>Perspex.Gtk</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Markup\Perspex.Markup.Xaml\Perspex.Markup.Xaml.csproj"> |
|
||||
<Project>{3e53a01a-b331-47f3-b828-4a5717e77a24}</Project> |
|
||||
<Name>Perspex.Markup.Xaml</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Markup\Perspex.Markup\Perspex.Markup.csproj"> |
|
||||
<Project>{6417e941-21bc-467b-a771-0de389353ce6}</Project> |
|
||||
<Name>Perspex.Markup</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Animation\Perspex.Animation.csproj"> |
|
||||
<Project>{d211e587-d8bc-45b9-95a4-f297c8fa5200}</Project> |
|
||||
<Name>Perspex.Animation</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.DesignerSupport\Perspex.DesignerSupport.csproj"> |
|
||||
<Project>{799a7bb5-3c2c-48b6-85a7-406a12c420da}</Project> |
|
||||
<Name>Perspex.Application</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Base\Perspex.Base.csproj"> |
|
||||
<Project>{b09b78d8-9b26-48b0-9149-d64a2f120f3f}</Project> |
|
||||
<Name>Perspex.Base</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Controls\Perspex.Controls.csproj"> |
|
||||
<Project>{d2221c82-4a25-4583-9b43-d791e3f6820c}</Project> |
|
||||
<Name>Perspex.Controls</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Diagnostics\Perspex.Diagnostics.csproj"> |
|
||||
<Project>{7062ae20-5dcc-4442-9645-8195bdece63e}</Project> |
|
||||
<Name>Perspex.Diagnostics</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.HtmlRenderer\Perspex.HtmlRenderer.csproj"> |
|
||||
<Project>{5fb2b005-0a7f-4dad-add4-3ed01444e63d}</Project> |
|
||||
<Name>Perspex.HtmlRenderer</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Input\Perspex.Input.csproj"> |
|
||||
<Project>{62024b2d-53eb-4638-b26b-85eeaa54866e}</Project> |
|
||||
<Name>Perspex.Input</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Interactivity\Perspex.Interactivity.csproj"> |
|
||||
<Project>{6b0ed19d-a08b-461c-a9d9-a9ee40b0c06b}</Project> |
|
||||
<Name>Perspex.Interactivity</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Layout\Perspex.Layout.csproj"> |
|
||||
<Project>{42472427-4774-4c81-8aff-9f27b8e31721}</Project> |
|
||||
<Name>Perspex.Layout</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.ReactiveUI\Perspex.ReactiveUI.csproj"> |
|
||||
<Project>{6417b24e-49c2-4985-8db2-3ab9d898ec91}</Project> |
|
||||
<Name>Perspex.ReactiveUI</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.SceneGraph\Perspex.SceneGraph.csproj"> |
|
||||
<Project>{eb582467-6abb-43a1-b052-e981ba910e3a}</Project> |
|
||||
<Name>Perspex.SceneGraph</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Styling\Perspex.Styling.csproj"> |
|
||||
<Project>{f1baa01a-f176-4c6a-b39d-5b40bb1b148f}</Project> |
|
||||
<Name>Perspex.Styling</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Perspex.Themes.Default\Perspex.Themes.Default.csproj"> |
|
||||
<Project>{3e10a5fa-e8da-48b1-ad44-6a5b6cb7750f}</Project> |
|
||||
<Name>Perspex.Themes.Default</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Windows\Perspex.Direct2D1\Perspex.Direct2D1.csproj"> |
|
||||
<Project>{3e908f67-5543-4879-a1dc-08eace79b3cd}</Project> |
|
||||
<Name>Perspex.Direct2D1</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\..\Windows\Perspex.Win32\Perspex.Win32.csproj"> |
|
||||
<Project>{811a76cf-1cf6-440f-963b-bbe31bd72a82}</Project> |
|
||||
<Name>Perspex.Win32</Name> |
|
||||
</ProjectReference> |
|
||||
<ProjectReference Include="..\Perspex.Skia.Desktop\Perspex.Skia.Desktop.csproj"> |
|
||||
<Project>{925dd807-b651-475f-9f7c-cbeb974ce43d}</Project> |
|
||||
<Name>Perspex.Skia.Desktop</Name> |
|
||||
</ProjectReference> |
|
||||
</ItemGroup> |
|
||||
<Import Project="..\..\..\samples\TestApplicationShared\TestApplicationShared.projitems" Label="Shared" /> |
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|
||||
<Import Project="..\..\..\packages\SkiaSharp.1.49.2.0-beta\build\net45\SkiaSharp.targets" Condition="Exists('..\..\..\packages\SkiaSharp.1.49.2.0-beta\build\net45\SkiaSharp.targets')" /> |
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
|
||||
<PropertyGroup> |
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
|
||||
</PropertyGroup> |
|
||||
<Error Condition="!Exists('..\..\..\packages\SkiaSharp.1.49.2.0-beta\build\net45\SkiaSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\SkiaSharp.1.49.2.0-beta\build\net45\SkiaSharp.targets'))" /> |
|
||||
</Target> |
|
||||
<!-- 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> |
|
||||
@ -1,85 +0,0 @@ |
|||||
// Copyright (c) The Perspex Project. All rights reserved.
|
|
||||
// Licensed under the MIT license. See licence.md file in the project root for full license information.
|
|
||||
|
|
||||
using System; |
|
||||
using System.Linq; |
|
||||
using System.IO; |
|
||||
using System.Reactive.Linq; |
|
||||
using Perspex; |
|
||||
using Perspex.Animation; |
|
||||
using Perspex.Collections; |
|
||||
using Perspex.Controls; |
|
||||
using Perspex.Controls.Html; |
|
||||
using Perspex.Controls.Primitives; |
|
||||
using Perspex.Controls.Shapes; |
|
||||
using Perspex.Controls.Templates; |
|
||||
using Perspex.Diagnostics; |
|
||||
using Perspex.Layout; |
|
||||
using Perspex.Media; |
|
||||
using Perspex.Media.Imaging; |
|
||||
using TestApplication; |
|
||||
using Perspex.Rendering; |
|
||||
#if PERSPEX_GTK
|
|
||||
using Perspex.Gtk; |
|
||||
#endif
|
|
||||
using ReactiveUI; |
|
||||
|
|
||||
namespace Perspex.Skia.Desktop.TestApp |
|
||||
{ |
|
||||
internal class Program |
|
||||
{ |
|
||||
private static void Main(string[] args) |
|
||||
{ |
|
||||
// The version of ReactiveUI currently included is for WPF and so expects a WPF
|
|
||||
// dispatcher. This makes sure it's initialized.
|
|
||||
System.Windows.Threading.Dispatcher foo = System.Windows.Threading.Dispatcher.CurrentDispatcher; |
|
||||
|
|
||||
new App() |
|
||||
.UseWin32() |
|
||||
.UseSkia(); |
|
||||
|
|
||||
//RendererMixin.DrawFpsCounter = true;
|
|
||||
|
|
||||
MainWindow.RootNamespace = "Perspex.Skia.Desktop.TestApp"; |
|
||||
var wnd = MainWindow.Create(); |
|
||||
|
|
||||
// let's start small :)
|
|
||||
//var wnd = SimpleWindow.Create();
|
|
||||
|
|
||||
DevTools.Attach(wnd); |
|
||||
Application.Current.Run(wnd); |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
internal class SimpleWindow |
|
||||
{ |
|
||||
public static Window Create() |
|
||||
{ |
|
||||
Border container; |
|
||||
|
|
||||
Window window = new Window |
|
||||
{ |
|
||||
Title = "Perspex Test Application", |
|
||||
Content = (container = new Border |
|
||||
{ |
|
||||
Background = Brushes.Green, |
|
||||
BorderBrush = Brushes.Yellow, |
|
||||
BorderThickness = 12, |
|
||||
Padding = new Thickness(5), |
|
||||
Child = new Rectangle |
|
||||
{ |
|
||||
Fill = Brushes.Blue, |
|
||||
Width = 200, |
|
||||
Height = 200, |
|
||||
Margin = new Thickness(50) |
|
||||
} |
|
||||
}) |
|
||||
|
|
||||
}; |
|
||||
|
|
||||
window.Show(); |
|
||||
return window; |
|
||||
} |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,36 +0,0 @@ |
|||||
using System.Reflection; |
|
||||
using System.Runtime.CompilerServices; |
|
||||
using System.Runtime.InteropServices; |
|
||||
|
|
||||
// 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("Perspex.Skia.Desktop.TestApp")] |
|
||||
[assembly: AssemblyDescription("")] |
|
||||
[assembly: AssemblyConfiguration("")] |
|
||||
[assembly: AssemblyCompany("")] |
|
||||
[assembly: AssemblyProduct("Perspex.Skia.Desktop.TestApp")] |
|
||||
[assembly: AssemblyCopyright("Copyright © 2016")] |
|
||||
[assembly: AssemblyTrademark("")] |
|
||||
[assembly: AssemblyCulture("")] |
|
||||
|
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||
// to COM components. If you need to access a type in this assembly from
|
|
||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||
[assembly: ComVisible(false)] |
|
||||
|
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
||||
[assembly: Guid("383168df-5a4e-45e5-a239-fb54d40d4f5c")] |
|
||||
|
|
||||
// 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 Build and Revision Numbers
|
|
||||
// by using the '*' as shown below:
|
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||
[assembly: AssemblyVersion("1.0.0.0")] |
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
|
||||
@ -1,11 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<packages> |
|
||||
<package id="Rx-Core" version="2.2.5" targetFramework="net46" /> |
|
||||
<package id="Rx-Interfaces" version="2.2.5" targetFramework="net46" /> |
|
||||
<package id="Rx-Linq" version="2.2.5" targetFramework="net46" /> |
|
||||
<package id="Rx-Main" version="2.2.5" targetFramework="net46" /> |
|
||||
<package id="Rx-PlatformServices" version="2.2.5" targetFramework="net46" /> |
|
||||
<package id="Rx-XAML" version="2.2.5" targetFramework="net46" /> |
|
||||
<package id="Serilog" version="1.5.14" targetFramework="net46" /> |
|
||||
<package id="SkiaSharp" version="1.49.2.0-beta" targetFramework="net46" /> |
|
||||
</packages> |
|
||||
Loading…
Reference in new issue