Files
Libation/Source/LibationAvalonia/ViewModels/LiberateStatusButtonViewModel.cs
T
Cursor Agentandrmcrackan dcaa42d21d Draw Avalonia Liberate icons from the shared generator
Replace the hand-composed vector layers with the shared rendering bound through
EntryStatus.ButtonImage, and delete the geometry and stoplight brushes that only
that composition used.

The rendering is per-theme rather than a set of DynamicResource brushes, so each
button re-renders its icon when the actual theme variant changes.

Co-authored-by: rmcrackan <rmcrackan@gmail.com>
2026-08-13 05:56:29 +00:00

11 lines
344 B
C#

using Avalonia.Media;
using ReactiveUI;
namespace LibationAvalonia.ViewModels;
public class LiberateStatusButtonViewModel : ViewModelBase
{
public bool IsButtonEnabled { get => field; set => this.RaiseAndSetIfChanged(ref field, value); }
public IImage? ButtonImage { get => field; set => this.RaiseAndSetIfChanged(ref field, value); }
}