-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2977 from PrismLibrary/dev/ds/uno-updates
- Loading branch information
Showing
25 changed files
with
235 additions
and
293 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project Sdk="Microsoft.Build.NoTargets/3.7.0"> | ||
<PropertyGroup> | ||
<!-- NOTE: The TargetFramework is required by MSBuild but not used as this project is not built. --> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<EnableDefaultItems>false</EnableDefaultItems> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="**\*" Exclude="obj\**;bin\**;*.csproj" /> | ||
<None Update="AppHead.xaml.cs" DependentUpon="AppHead.xaml" /> | ||
</ItemGroup> | ||
</Project> |
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 |
---|---|---|
@@ -1,21 +1,30 @@ | ||
<Project> | ||
<ItemGroup> | ||
<PackageReference Include="Uno.Resizetizer" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Uno.Resizetizer" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="$(MSBuildThisFileDirectory)AppHead.xaml" /> | ||
<ApplicationDefinition Include="$(MSBuildThisFileDirectory)AppHead.xaml" | ||
SubType="Designer" | ||
XamlRuntime="WinUI" | ||
Generator="MSBuild:Compile" | ||
Link="AppHead.xaml" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)AppHead.xaml.cs" | ||
XamlRuntime="WinUI" | ||
DependentUpon="AppHead.xaml" | ||
Link="AppHead.xaml.cs" /> | ||
<UnoIcon Include="$(MSBuildThisFileDirectory)Icons\iconapp.svg" | ||
ForegroundFile="$(MSBuildThisFileDirectory)Icons\iconapp.svg" | ||
Color="#00000000" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="$(MSBuildThisFileDirectory)AppHead.xaml" /> | ||
<ApplicationDefinition Include="$(MSBuildThisFileDirectory)AppHead.xaml" | ||
SubType="Designer" | ||
XamlRuntime="WinUI" | ||
Generator="MSBuild:Compile" | ||
Link="AppHead.xaml" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)AppHead.xaml.cs" | ||
XamlRuntime="WinUI" | ||
DependentUpon="AppHead.xaml" | ||
Link="AppHead.xaml.cs" /> | ||
<UnoIcon Include="$(MSBuildThisFileDirectory)Icons\iconapp.svg" | ||
ForegroundFile="$(MSBuildThisFileDirectory)Icons\appconfig.svg" | ||
ForegroundScale="0.65" | ||
Color="#00000000" /> | ||
<UnoSplashScreen | ||
Include="$(MSBuildThisFileDirectory)Splash\splash_screen.svg" | ||
BaseSize="128,128" | ||
Color="#FFFFFF" /> | ||
<!-- NOTE: Files explicitly linked to display in the head projects for clarity. --> | ||
<None Include="$(MSBuildThisFileDirectory)Icons\iconapp.svg" Link="Icons\iconapp.svg" /> | ||
<None Include="$(MSBuildThisFileDirectory)Icons\appconfig.svg" Link="Icons\appconfig.svg" /> | ||
<None Include="$(MSBuildThisFileDirectory)Splash\splash_screen.svg" Link="Splash\splash_screen.svg" /> | ||
</ItemGroup> | ||
</Project> |
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 |
---|---|---|
@@ -1,21 +1,20 @@ | ||
using System; | ||
using GLib; | ||
using Uno.UI.Runtime.Skia; | ||
using Uno.UI.Runtime.Skia.Gtk; | ||
|
||
namespace HelloWorld.Skia.Gtk; | ||
|
||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs) | ||
{ | ||
Console.WriteLine("GLIB UNHANDLED EXCEPTION" + expArgs.ExceptionObject.ToString()); | ||
expArgs.ExitApplication = true; | ||
}; | ||
public static void Main(string[] args) | ||
{ | ||
ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs) | ||
{ | ||
Console.WriteLine("GLIB UNHANDLED EXCEPTION" + expArgs.ExceptionObject.ToString()); | ||
expArgs.ExitApplication = true; | ||
}; | ||
|
||
var host = new GtkHost(() => new AppHead(), args); | ||
var host = new GtkHost(() => new AppHead()); | ||
|
||
host.Run(); | ||
} | ||
host.Run(); | ||
} | ||
} |
Oops, something went wrong.