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_pendingLoadCompleteHandlerProperty = DataCookie.ReserveSlot();
private static readonly DataCookie s_acquiringImageProperty = DataCookie.ReserveSlot(); private static readonly DataCookie s_acquiringImageProperty = DataCookie.ReserveSlot();
private static readonly DataCookie s_errorImageProperty = DataCookie.ReserveSlot(); private static readonly DataCookie s_errorImageProperty = DataCookie.ReserveSlot();
private static string s_AcquiringDefaultImageUri = "res://UIX!AcquiringImage.png"; private static string s_AcquiringDefaultImageUri = "clr-res://UIX!AcquiringImage.png";
private static string s_ErrorDefaultImageUri = "res://UIX!ErrorImage.png"; private static string s_ErrorDefaultImageUri = "clr-res://UIX!ErrorImage.png";
private static UIImage s_AcquiringDefaultImage; private static UIImage s_AcquiringDefaultImage;
private static UIImage s_ErrorDefaultImage; private static UIImage s_ErrorDefaultImage;
private static object s_NullImage = new object(); 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

+4 -2
View File
@@ -4,7 +4,7 @@
<ProjectGuid>{78A8B08C-C0E9-4BAC-9AF6-58D3A55C05C9}</ProjectGuid> <ProjectGuid>{78A8B08C-C0E9-4BAC-9AF6-58D3A55C05C9}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<AssemblyName>UIX</AssemblyName> <AssemblyName>UIX</AssemblyName>
<RootNamespace></RootNamespace> <RootNamespace></RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>
@@ -12,7 +12,9 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\UIX.RenderApi\UIX.RenderApi.csproj" /> <ProjectReference Include="..\UIX.RenderApi\UIX.RenderApi.csproj" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2" /> <PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2" />
<EmbeddedResource Include="Resources\**\*.*" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) "> <ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">