17 references to TrayPanelGlyphs
Aspire.Tray.Tests (17)
src\Aspire.Tray\Common\TrayPanel.cs (12)
951TrayPanelGlyphs.AddIcon(commands, PanelIcon.Alert, new(banner.X + 10, banner.Y + 9, 16, 16), palette.BannerText); 969TrayPanelGlyphs.AddStatus(commands, PanelStatusGlyph.Busy, art.Inset(2, 2), palette); 973TrayPanelGlyphs.AddIcon(commands, PanelIcon.Layers, art, palette.TextTertiary); 1007TrayPanelGlyphs.AddIcon(commands, expanded ? PanelIcon.ChevronDown : PanelIcon.ChevronRight, 1037TrayPanelGlyphs.AddStatus(commands, GetStatusGlyph(host, live), new(20, top + 16, 20, 20), palette); 1082TrayPanelGlyphs.AddIcon(commands, icon, bounds.Inset(6, 6), color); 1158TrayPanelGlyphs.AddIcon(fallback, PanelIcon.AppWindow, new(TextLeft, item.Y + 7, 16, 16), iconColor); 1166TrayPanelGlyphs.AddIcon(commands, icon, new(22, item.Y + 7, 16, 16), iconColor); 1172TrayPanelGlyphs.AddIcon(commands, _openInExpanded ? PanelIcon.ChevronDown : PanelIcon.ChevronRight, 1271TrayPanelGlyphs.AddIcon(commands, PanelIcon.ChevronLeft, back.Inset(6, 6), _hover == backKey ? palette.TextPrimary : palette.TextSecondary); 1301TrayPanelGlyphs.AddToggle(commands, on, enabled, toggle, palette); 1347TrayPanelGlyphs.AddIcon(commands, icon, bounds.Inset(6, 6), _hover == key ? palette.TextPrimary : palette.TextSecondary);
TrayPanelTests.cs (5)
763TrayPanelGlyphs.AddToggle(commands, on, enabled: true, box, TrayPanelPalette.Light); 969TrayPanelGlyphs.AddStatus(commands, glyph, box, TrayPanelPalette.Light); 998TrayPanelGlyphs.AddIcon(commands, icon, box, TrayPanelPalette.Light.TextPrimary); 1054TrayPanelGlyphs.AddStatus(commands, PanelStatusGlyph.Unhealthy, new(0, 0, 20, 20), palette); 1099TrayPanelGlyphs.AddStatus(commands, glyph, new(0, 0, 20, 20), palette);