1 instantiation of TrayPanelScene
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
940return new(Width, height, commands, targets, accessible) { Guides = _guides };
25 references to TrayPanelScene
Aspire.Tray.Tests (25)
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 74private TrayPanelScene? _scene; 131public TrayPanelScene Scene => _scene ??= Build(); 742private 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 (16)
71var scene = panel.Scene; 93var scene = CreatePanel(name, TrayPanelPalette.Dark).Scene; 111var scene = CreatePanel(name, TrayPanelPalette.Light).Scene; 131var scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene; 467var scene = panel.Scene; 830var scene = new TrayPanel(TrayPanelSamples.Errors(), TrayPanelPalette.Light).Scene; 862var scene = CreatePanel(name, TrayPanelPalette.Light).Scene; 885var scene = CreatePanel(name, TrayPanelPalette.Dark).Scene; 930var scene = CreatePanel("actions-open-in", TrayPanelPalette.Light).Scene; 942var scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene; 968var scene = panel.Scene; 999var scene = new TrayPanel(state, TrayPanelPalette.Light).Scene; 1235var scene = new TrayPanel(TrayPanelSamples.Errors(), palette).Scene; 1301var scene = CreatePanel(name, TrayPanelPalette.Light).Scene; 1314var scene = new TrayPanel(state, TrayPanelPalette.Light).Scene; 1450var scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene;