LANCommander/LANCommander.Launcher/ViewModels/Components/LightboxItem.cs
Pat Hartl b183e4b18c Remove old launcher, rename Avalonia launcher
Also adds ARM builds for Linux + Windows launcher
2026-06-06 05:49:24 -05:00

25 lines
657 B
C#

using Avalonia.Media.Imaging;
namespace LANCommander.Launcher.ViewModels.Components;
public enum LightboxItemType
{
Image,
Video,
Pdf
}
/// <summary>Represents a single item in the lightbox (screenshot, video, or PDF manual).</summary>
public class LightboxItem
{
public LightboxItemType Type { get; set; }
/// <summary>Local file path or streaming URL.</summary>
public string Path { get; set; } = string.Empty;
/// <summary>Optional title (used for PDFs).</summary>
public string? Title { get; set; }
/// <summary>Pre-loaded bitmap for screenshot display.</summary>
public Bitmap? ImageSource { get; set; }
}