Add AcquiringImage and ErrorImage to UIX

This commit is contained in:
Yoshi Askharoun
2025-08-03 22:40:34 -05:00
parent f4549b5533
commit 61131c0ebf
4 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ namespace Microsoft.Iris.ViewItems
private static readonly DataCookie s_pendingLoadCompleteHandlerProperty = DataCookie.ReserveSlot();
private static readonly DataCookie s_acquiringImageProperty = DataCookie.ReserveSlot();
private static readonly DataCookie s_errorImageProperty = DataCookie.ReserveSlot();
private static string s_AcquiringDefaultImageUri = "res://UIX!AcquiringImage.png";
private static string s_ErrorDefaultImageUri = "res://UIX!ErrorImage.png";
private static string s_AcquiringDefaultImageUri = "clr-res://UIX!AcquiringImage.png";
private static string s_ErrorDefaultImageUri = "clr-res://UIX!ErrorImage.png";
private static UIImage s_AcquiringDefaultImage;
private static UIImage s_ErrorDefaultImage;
private static object s_NullImage = new object();
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

+2
View File
@@ -13,6 +13,8 @@
<ProjectReference Include="..\UIX.RenderApi\UIX.RenderApi.csproj" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2" />
<EmbeddedResource Include="Resources\**\*.*" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">