1 instantiation of TrayPanelScene
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1043return new(Width, height, commands, targets, accessible) { Guides = _guides };
26 references to TrayPanelScene
Aspire.Tray.Tests (26)
Helpers\TrayPanelSvgRenderer.cs (3)
11/// Renders a <see cref="TrayPanelScene"/> to SVG for previews and documentation. It mirrors the 23public static string Render(TrayPanelScene scene, byte[]? logoPng = null, double margin = 0, bool guides = false) 112private static void AddGuides(XElement root, TrayPanelScene scene)
src\Aspire.Tray\Common\TrayPanel.cs (4)
10/// <see cref="TrayPanelScene"/>. The macOS and Windows hosts only forward input, draw the display 79private TrayPanelScene? _scene; 137public TrayPanelScene Scene => _scene ??= Build(); 825private TrayPanelScene Build()
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
28public static void Write(string path, TrayPanelScene scene, string platform, string appearance, double scale, long windowId,
src\Aspire.Tray\Linux\LinuxPanelAccessibility.cs (1)
17internal unsafe void Update(TrayPanelScene scene, double x, double y, double scale, PanelTargetKey? focus)
TrayPanelTests.cs (17)
71var scene = panel.Scene; 94var scene = panel.Scene; 115var scene = CreatePanel(name, TrayPanelPalette.Dark).Scene; 171var scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene; 507var scene = panel.Scene; 934var scene = new TrayPanel(TrayPanelSamples.Errors(), TrayPanelPalette.Light).Scene; 966var scene = CreatePanel(name, TrayPanelPalette.Light).Scene; 989var scene = CreatePanel(name, TrayPanelPalette.Dark).Scene; 1034var scene = CreatePanel("actions-open-in", TrayPanelPalette.Light).Scene; 1046var scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene; 1072var scene = panel.Scene; 1103var scene = new TrayPanel(state, TrayPanelPalette.Light).Scene; 1136var scene = panel.Scene; 1366var scene = new TrayPanel(TrayPanelSamples.Errors(), palette).Scene; 1432var scene = CreatePanel(name, TrayPanelPalette.Light).Scene; 1445var scene = new TrayPanel(state, TrayPanelPalette.Light).Scene; 1579var scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene;