csharpdeeb25a2 | 1 | #nullable enable |
| 2 | using SkiaSharp; |
| 3 | |
| 4 | namespace CascadeIDE.Views.SkiaKit; |
| 5 | |
| 6 | internal enum SkiaSectionedSectionStyle |
| 7 | { |
| 8 | /// <summary>Первая секция: крупный заголовок (тема, имя узла).</summary> |
| 9 | Header, |
| 10 | /// <summary>Обычное тело секции (теги, саммари, атрибуты).</summary> |
| 11 | Body |
| 12 | } |
| 13 | |
| 14 | internal readonly record struct SkiaSectionedCardSection( |
| 15 | string Label, |
| 16 | IReadOnlyList<string> Lines, |
| 17 | SkiaSectionedSectionStyle Style = SkiaSectionedSectionStyle.Body); |
| 18 | |
| 19 | internal readonly record struct SkiaSectionedCardModel(IReadOnlyList<SkiaSectionedCardSection> Sections); |
| 20 | |
| 21 | internal readonly record struct SkiaSectionedCardDrawState( |
| 22 | SKColor FillColor, |
| 23 | bool IsHovered, |
| 24 | bool IsFocused); |
| 25 | |
View only · write via MCP/CIDE