mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-15 15:19:48 -04:00
Both UIs need the same stoplight/PDF/error/series icons. WinForms selected pre-baked PNGs by name while Avalonia composed vector layers in XAML, so the two drifted and every new combination needed another pair of PNGs. Port the Avalonia artwork and palette into LibationUiBase and rasterize it with SkiaSharp, keyed by a descriptor of the finite combinations and cached in memory. EntryStatus.ButtonImage now serves that shared rendering to both UIs. Co-authored-by: rmcrackan <rmcrackan@gmail.com>
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<IsPublishable>true</IsPublishable>
|
|
<Nullable>enable</Nullable>
|
|
<PublishReadyToRun>true</PublishReadyToRun>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Rasterizes the Liberate column's icons. Kept on the same major version as the one
|
|
Avalonia.Skia resolves, so the Avalonia app doesn't get a mismatched native Skia. -->
|
|
<PackageReference Include="SkiaSharp" Version="3.119.4" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ApplicationServices\ApplicationServices.csproj" />
|
|
<ProjectReference Include="..\AppScaffolding\AppScaffolding.csproj" />
|
|
<ProjectReference Include="..\FileLiberator\FileLiberator.csproj" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|