forked from unoplatform/uno
-
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
1 parent
47b6c76
commit 6d46e18
Showing
12 changed files
with
163 additions
and
6 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
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
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
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
Binary file added
BIN
+135 KB
src/SolutionTemplate/UnoSolutionTemplate/Skia.Tizen/Assets/Fonts/uno-fluentui-assets.ttf
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
src/SolutionTemplate/UnoSolutionTemplate/Skia.Tizen/Program.cs
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,14 @@ | ||
using Tizen.Applications; | ||
using Uno.UI.Runtime.Skia; | ||
|
||
namespace $ext_safeprojectname$.Skia.Tizen | ||
{ | ||
class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
var host = new TizenHost(() => new $ext_safeprojectname$.App(), args); | ||
host.Run(); | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
src/SolutionTemplate/UnoSolutionTemplate/Skia.Tizen/SkiaTizen.vstemplate
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,31 @@ | ||
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project"> | ||
<TemplateData> | ||
<Name>UnoQuickStart.Skia.Tizen</Name> | ||
<Description>No Description</Description> | ||
<Icon>__TemplateIcon.png</Icon> | ||
<PreviewImage>__PreviewImage.png</PreviewImage> | ||
<ProjectType>CSharp</ProjectType> | ||
<ProjectSubType /> | ||
<SortOrder>1000</SortOrder> | ||
<DefaultName>UnoQuickStart.Skia.Tizen</DefaultName> | ||
<ProvideDefaultName>true</ProvideDefaultName> | ||
<EnableLocationBrowseButton>true</EnableLocationBrowseButton> | ||
<LocationField>Enabled</LocationField> | ||
<CreateInPlace>true</CreateInPlace> | ||
</TemplateData> | ||
<TemplateContent> | ||
<Project File="UnoQuickStart.Skia.Tizen.csproj" TargetFileName="$ext_safeprojectname$.Skia.Tizen.csproj" ReplaceParameters="true"> | ||
<Folder Name="Assets" TargetFolderName="Assets"> | ||
<Folder Name="Fonts" TargetFolderName="Fonts"> | ||
<ProjectItem TargetFileName="uno-fluentui-assets.ttf" ReplaceParameters="false">uno-fluentui-assets.ttf</ProjectItem> | ||
</Folder> | ||
</Folder> | ||
<Folder Name="shared" TargetFolderName="shared"> | ||
<Folder Name="res" TargetFolderName="res"> | ||
<ProjectItem ReplaceParameters="false" TargetFileName="Icon.png">Icon.png</ProjectItem> | ||
</Folder> | ||
</Folder> | ||
<ProjectItem TargetFileName="Program.cs" ReplaceParameters="true">Program.cs</ProjectItem> | ||
</Project> | ||
</TemplateContent> | ||
</VSTemplate> |
34 changes: 34 additions & 0 deletions
34
src/SolutionTemplate/UnoSolutionTemplate/Skia.Tizen/UnoQuickStart.Skia.Tizen.csproj
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,34 @@ | ||
<Project Sdk="Tizen.NET.Sdk/1.0.9"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>tizen50</TargetFramework> | ||
<OutputType>Exe</OutputType> | ||
<DefineConstants>$(DefineConstants);__TIZEN__;</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="lib\" /> | ||
<Folder Include="res\" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="exists('..\$ext_safeprojectname$.UWP')"> | ||
<EmbeddedResource Include="..\$ext_safeprojectname$.UWP\Package.appxmanifest" LogicalName="Package.appxmanifest" /> | ||
<Content Include="..\$ext_safeprojectname$.UWP\Assets\StoreLogo.png" Link="Assets\StoreLogo.png" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<UpToDateCheckInput Include="..\$ext_safeprojectname$.Shared\**\*.xaml" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<!-- Note that for WebAssembly version 1.1.1 of the console logger required --> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.1" /> | ||
<PackageReference Include="Uno.UI.Skia.Tizen" Version="3.0.0-dev.1447" /> | ||
<PackageReference Include="Uno.UI.RemoteControl" Version="3.0.0-dev.1447" Condition="'$(Configuration)'=='Debug'" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\$ext_safeprojectname$.Shared\$ext_safeprojectname$.Shared.projitems" Label="Shared" /> | ||
|
||
</Project> |
Binary file added
BIN
+9.86 KB
src/SolutionTemplate/UnoSolutionTemplate/Skia.Tizen/shared/res/Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
src/SolutionTemplate/UnoSolutionTemplate/Skia.Tizen/tizen-manifest.xml
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,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns="http://tizen.org/ns/packages" api-version="5" package="com.example.$ext_safeprojectname$.Skia.Tizen" version="1.0.0"> | ||
<profile name="common" /> | ||
<ui-application appid="com.example.$ext_safeprojectname$.Skia.Tizen" | ||
exec="$ext_safeprojectname$.Skia.Tizen.dll" | ||
type="dotnet" | ||
multiple="false" | ||
taskmanage="true" | ||
nodisplay="false" | ||
launch_mode="single"> | ||
<label>$ext_safeprojectname$.Skia.Tizen</label> | ||
<icon>Icon.png</icon> | ||
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="false" /> | ||
</ui-application> | ||
</manifest> |
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
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