chore: Rename samples to PhotoViewer
|
@ -1,3 +0,0 @@
|
|||
var UnoAppManifest = {
|
||||
displayName: "ManipulableContentControlSample"
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"background_color": "#ffffff",
|
||||
"description": "ManipulableContentControlSample",
|
||||
"display": "standalone",
|
||||
"name": "ManipulableContentControlSample",
|
||||
"short_name": "ManipulableContentControlSample",
|
||||
"start_url": "/index.html",
|
||||
"theme_color": "#ffffff",
|
||||
"scope": "/"
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"profiles": {
|
||||
"ManipulableContentControlSample.Windows (Unpackaged)": {
|
||||
"commandName": "Project"
|
||||
},
|
||||
"ManipulableContentControlSample.Windows (Package)": {
|
||||
"commandName": "MsixPackage"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,7 +11,7 @@ using Android.Widget;
|
|||
using Com.Nostra13.Universalimageloader.Core;
|
||||
using Microsoft.UI.Xaml.Media;
|
||||
|
||||
namespace ManipulableContentControlSample.Droid;
|
||||
namespace PhotoViewer.Droid;
|
||||
|
||||
[global::Android.App.ApplicationAttribute(
|
||||
Label = "@string/ApplicationName",
|
|
@ -4,7 +4,7 @@ using Android.OS;
|
|||
using Android.Views;
|
||||
using Android.Widget;
|
||||
|
||||
namespace ManipulableContentControlSample.Droid;
|
||||
namespace PhotoViewer.Droid;
|
||||
|
||||
[Activity(
|
||||
MainLauncher = true,
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="Hello">Hello World, Click Me!</string>
|
||||
<string name="ApplicationName">ManipulableContentControlSample</string>
|
||||
<string name="ApplicationName">PhotoViewer</string>
|
||||
</resources>
|
|
@ -1,6 +1,6 @@
|
|||
using UIKit;
|
||||
|
||||
namespace ManipulableContentControlSample.MacCatalyst;
|
||||
namespace PhotoViewer.MacCatalyst;
|
||||
|
||||
public class EntryPoint
|
||||
{
|
|
@ -5,9 +5,9 @@
|
|||
<SingleProject>true</SingleProject>
|
||||
<OutputType>Exe</OutputType>
|
||||
<!-- Display name -->
|
||||
<ApplicationTitle>ManipulableContentControlSample</ApplicationTitle>
|
||||
<ApplicationTitle>PhotoViewer</ApplicationTitle>
|
||||
<!-- App Identifier -->
|
||||
<ApplicationId>platform.uno.ManipulableContentControlSample</ApplicationId>
|
||||
<ApplicationId>platform.uno.PhotoViewer</ApplicationId>
|
||||
<ApplicationIdGuid>66D78F82-4804-4697-ABCB-0088D91A56C4</ApplicationIdGuid>
|
||||
<!-- Versions -->
|
||||
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
||||
|
@ -62,9 +62,9 @@
|
|||
</When>
|
||||
</Choose>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ManipulableContentControlSample\ManipulableContentControlSample.csproj" />
|
||||
<ProjectReference Include="..\PhotoViewer\PhotoViewer.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\ManipulableContentControlSample.Shared\base.props" />
|
||||
<Import Project="..\PhotoViewer.Shared\base.props" />
|
||||
|
||||
<Target Name="ValidateOverrides" BeforeTargets="Restore;_CheckForUnsupportedTargetFramework" Condition="'$(OverrideTargetFramework)' != ''">
|
||||
<Error
|
|
@ -1,6 +1,6 @@
|
|||
using UIKit;
|
||||
|
||||
namespace ManipulableContentControlSample.iOS;
|
||||
namespace PhotoViewer.iOS;
|
||||
|
||||
public class EntryPoint
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
<local:App
|
||||
x:Class="ManipulableContentControlSample.AppHead"
|
||||
x:Class="PhotoViewer.AppHead"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:ManipulableContentControlSample"
|
||||
xmlns:local="using:PhotoViewer"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:wasm="http://platform.uno/wasm"
|
||||
mc:Ignorable="wasm">
|
||||
|
@ -10,7 +10,7 @@
|
|||
<local:App.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="ms-appx:///ManipulableContentControlSample/AppResources.xaml" />
|
||||
<ResourceDictionary Source="ms-appx:///PhotoViewer/AppResources.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</local:App.Resources>
|
|
@ -3,7 +3,7 @@ using Microsoft.Extensions.Logging;
|
|||
using Microsoft.UI.Xaml;
|
||||
using Uno.Resizetizer;
|
||||
|
||||
namespace ManipulableContentControlSample;
|
||||
namespace PhotoViewer;
|
||||
|
||||
public sealed partial class AppHead : App
|
||||
{
|
До Ширина: | Высота: | Размер: 1.1 KiB После Ширина: | Высота: | Размер: 1.1 KiB |
До Ширина: | Высота: | Размер: 5.5 KiB После Ширина: | Высота: | Размер: 5.5 KiB |
До Ширина: | Высота: | Размер: 5.5 KiB После Ширина: | Высота: | Размер: 5.5 KiB |
|
@ -7,13 +7,13 @@
|
|||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity
|
||||
Name="ManipulableContentControlSample"
|
||||
Publisher="O=ManipulableContentControlSample"
|
||||
Name="PhotoViewer"
|
||||
Publisher="O=PhotoViewer"
|
||||
Version="1.0.0.0" />
|
||||
|
||||
<Properties>
|
||||
<DisplayName>ManipulableContentControlSample</DisplayName>
|
||||
<PublisherDisplayName>ManipulableContentControlSample</PublisherDisplayName>
|
||||
<DisplayName>PhotoViewer</DisplayName>
|
||||
<PublisherDisplayName>PhotoViewer</PublisherDisplayName>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
|
@ -30,8 +30,8 @@
|
|||
Executable="$targetnametoken$.exe"
|
||||
EntryPoint="$targetentrypoint$">
|
||||
<uap:VisualElements
|
||||
DisplayName="ManipulableContentControlSample"
|
||||
Description="ManipulableContentControlSample">
|
||||
DisplayName="PhotoViewer"
|
||||
Description="PhotoViewer">
|
||||
<uap:SplashScreen />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
|
@ -19,9 +19,9 @@
|
|||
<PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ManipulableContentControlSample\ManipulableContentControlSample.csproj" />
|
||||
<ProjectReference Include="..\PhotoViewer\PhotoViewer.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\ManipulableContentControlSample.Shared\base.props" />
|
||||
<Import Project="..\PhotoViewer.Shared\base.props" />
|
||||
|
||||
<Target Name="ValidateOverrides" BeforeTargets="Restore;_CheckForUnsupportedTargetFramework" Condition="'$(OverrideTargetFramework)' != ''">
|
||||
<Error
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using GLib;
|
||||
using Uno.UI.Runtime.Skia.Gtk;
|
||||
|
||||
namespace ManipulableContentControlSample.Skia.Gtk;
|
||||
namespace PhotoViewer.Skia.Gtk;
|
||||
|
||||
public class Program
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="ManipulableContentControlSample.Gtk"/>
|
||||
<assemblyIdentity version="1.0.0.0" name="PhotoViewer.Gtk"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
@ -1,6 +1,6 @@
|
|||
<linker>
|
||||
<assembly fullname="ManipulableContentControlSample" />
|
||||
<assembly fullname="ManipulableContentControlSample.Wasm" />
|
||||
<assembly fullname="PhotoViewer" />
|
||||
<assembly fullname="PhotoViewer.Wasm" />
|
||||
|
||||
<!--
|
||||
Uncomment this section when using JSON.NET
|
|
@ -52,9 +52,9 @@
|
|||
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ManipulableContentControlSample\ManipulableContentControlSample.csproj" />
|
||||
<ProjectReference Include="..\PhotoViewer\PhotoViewer.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\ManipulableContentControlSample.Shared\base.props" />
|
||||
<Import Project="..\PhotoViewer.Shared\base.props" />
|
||||
|
||||
<Target Name="ValidateOverrides" BeforeTargets="Restore;_CheckForUnsupportedTargetFramework" Condition="'$(OverrideTargetFramework)' != ''">
|
||||
<Error
|
|
@ -1,4 +1,4 @@
|
|||
namespace ManipulableContentControlSample.Wasm;
|
||||
namespace PhotoViewer.Wasm;
|
||||
|
||||
public class Program
|
||||
{
|
|
@ -8,7 +8,7 @@
|
|||
}
|
||||
},
|
||||
"profiles": {
|
||||
"ManipulableContentControlSample.Wasm": {
|
||||
"PhotoViewer.Wasm": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
|
@ -0,0 +1,3 @@
|
|||
var UnoAppManifest = {
|
||||
displayName: "PhotoViewer"
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"background_color": "#ffffff",
|
||||
"description": "PhotoViewer",
|
||||
"display": "standalone",
|
||||
"name": "PhotoViewer",
|
||||
"short_name": "PhotoViewer",
|
||||
"start_url": "/index.html",
|
||||
"theme_color": "#ffffff",
|
||||
"scope": "/"
|
||||
}
|
|
@ -7,13 +7,13 @@
|
|||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity
|
||||
Name="ManipulableContentControlSample"
|
||||
Publisher="O=ManipulableContentControlSample"
|
||||
Name="PhotoViewer"
|
||||
Publisher="O=PhotoViewer"
|
||||
Version="1.0.0.0" />
|
||||
|
||||
<Properties>
|
||||
<DisplayName>ManipulableContentControlSample</DisplayName>
|
||||
<PublisherDisplayName>ManipulableContentControlSample</PublisherDisplayName>
|
||||
<DisplayName>PhotoViewer</DisplayName>
|
||||
<PublisherDisplayName>PhotoViewer</PublisherDisplayName>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
|
@ -30,8 +30,8 @@
|
|||
Executable="$targetnametoken$.exe"
|
||||
EntryPoint="$targetentrypoint$">
|
||||
<uap:VisualElements
|
||||
DisplayName="ManipulableContentControlSample"
|
||||
Description="ManipulableContentControlSample">
|
||||
DisplayName="PhotoViewer"
|
||||
Description="PhotoViewer">
|
||||
<uap:SplashScreen />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>$(DotNetVersion)-windows10.0.19041.0</TargetFramework>
|
||||
<RootNamespace>ManipulableContentControlSample.Windows</RootNamespace>
|
||||
<RootNamespace>PhotoViewer.Windows</RootNamespace>
|
||||
<Platforms>x86;x64;arm64</Platforms>
|
||||
|
||||
|
||||
|
@ -37,10 +37,10 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ManipulableContentControlSample\ManipulableContentControlSample.csproj" />
|
||||
<ProjectReference Include="..\PhotoViewer\PhotoViewer.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\ManipulableContentControlSample.Shared\base.props" />
|
||||
<Import Project="..\PhotoViewer.Shared\base.props" />
|
||||
|
||||
<Target Name="ValidateOverrides" BeforeTargets="Restore;_CheckForUnsupportedTargetFramework" Condition="'$(OverrideTargetFramework)' != ''">
|
||||
<Error
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"profiles": {
|
||||
"PhotoViewer.Windows (Unpackaged)": {
|
||||
"commandName": "Project"
|
||||
},
|
||||
"PhotoViewer.Windows (Package)": {
|
||||
"commandName": "MsixPackage"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="ManipulableContentControlSample.Windows.app"/>
|
||||
<assemblyIdentity version="1.0.0.0" name="PhotoViewer.Windows.app"/>
|
||||
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
|
@ -6,17 +6,17 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{66BABF
|
|||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platforms", "Platforms", "{910BFFE8-5551-4DD9-9C91-A74E5D9517FE}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManipulableContentControlSample", "ManipulableContentControlSample\ManipulableContentControlSample.csproj", "{2FD94308-49B2-495F-AF2F-5E4BE4D12AE0}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PhotoViewer", "PhotoViewer\PhotoViewer.csproj", "{2FD94308-49B2-495F-AF2F-5E4BE4D12AE0}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManipulableContentControlSample.Shared", "ManipulableContentControlSample.Shared\ManipulableContentControlSample.Shared.csproj", "{2189102C-8698-4760-A2C5-ADED686F84E2}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PhotoViewer.Shared", "PhotoViewer.Shared\PhotoViewer.Shared.csproj", "{2189102C-8698-4760-A2C5-ADED686F84E2}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManipulableContentControlSample.Mobile", "ManipulableContentControlSample.Mobile\ManipulableContentControlSample.Mobile.csproj", "{67A9E42D-A4E3-4A33-882C-EC93EE07C397}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PhotoViewer.Mobile", "PhotoViewer.Mobile\PhotoViewer.Mobile.csproj", "{67A9E42D-A4E3-4A33-882C-EC93EE07C397}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManipulableContentControlSample.Wasm", "ManipulableContentControlSample.Wasm\ManipulableContentControlSample.Wasm.csproj", "{29D216A8-F325-42F8-B779-B5CDD7C54D39}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PhotoViewer.Wasm", "PhotoViewer.Wasm\PhotoViewer.Wasm.csproj", "{29D216A8-F325-42F8-B779-B5CDD7C54D39}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManipulableContentControlSample.Skia.Gtk", "ManipulableContentControlSample.Skia.Gtk\ManipulableContentControlSample.Skia.Gtk.csproj", "{CB7E16DF-D98E-4913-8E44-95122F4AB2D9}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PhotoViewer.Skia.Gtk", "PhotoViewer.Skia.Gtk\PhotoViewer.Skia.Gtk.csproj", "{CB7E16DF-D98E-4913-8E44-95122F4AB2D9}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManipulableContentControlSample.Windows", "ManipulableContentControlSample.Windows\ManipulableContentControlSample.Windows.csproj", "{2D57F9DD-443E-4D61-B0D7-08D3FB5C2BEB}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PhotoViewer.Windows", "PhotoViewer.Windows\PhotoViewer.Windows.csproj", "{2D57F9DD-443E-4D61-B0D7-08D3FB5C2BEB}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BADA71DC-7FFD-4EDC-9F28-FB74AEADC713}"
|
||||
ProjectSection(SolutionItems) = preProject
|
|
@ -1,4 +1,4 @@
|
|||
namespace ManipulableContentControlSample;
|
||||
namespace PhotoViewer;
|
||||
|
||||
public class App : Application
|
||||
{
|
До Ширина: | Высота: | Размер: 188 B После Ширина: | Высота: | Размер: 188 B |
|
@ -1,9 +1,9 @@
|
|||
<Page
|
||||
x:Class="ManipulableContentControlSample.MainPage"
|
||||
x:Class="PhotoViewer.MainPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="using:InteractionControls"
|
||||
xmlns:local="using:ManipulableContentControlSample"
|
||||
xmlns:local="using:PhotoViewer"
|
||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
|
@ -1,4 +1,4 @@
|
|||
namespace ManipulableContentControlSample;
|
||||
namespace PhotoViewer;
|
||||
|
||||
public sealed partial class MainPage : Page
|
||||
{
|
|
@ -118,6 +118,6 @@
|
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="ApplicationName" xml:space="preserve">
|
||||
<value>ManipulableContentControlSample-en</value>
|
||||
<value>PhotoViewer-en</value>
|
||||
</data>
|
||||
</root>
|