diff --git a/src/Gjallar/Program.cs b/src/Gjallar/Program.cs index a8534f9..de026b4 100644 --- a/src/Gjallar/Program.cs +++ b/src/Gjallar/Program.cs @@ -1321,11 +1321,9 @@ internal sealed class GjallarRenderer : IDisposable Timings = timings, ObservedAt = started, ReceiveStatus = EffectiveReceiveStatus(started), - ReceiveAttemptStatus = lastReceiveAttemptStatus, ReceiveError = lastReceiveError, ProviderFetchError = lastProviderFetchError, ProviderFetchUri = lastProviderFetchUri, - LastSuccessfulReceiveAt = lastSuccessfulCatalogReceiveObservedAt, ConsecutiveReceiveFailures = consecutiveCatalogReceiveFailures, CatalogProviders = latestCatalogProviders, ComposedProviders = latestComposedProviders, @@ -1667,8 +1665,6 @@ internal sealed class FrameDocument } } - public void CopyFrom(byte[] pixels) => Buffer.BlockCopy(pixels, 0, Pixels, 0, Math.Min(pixels.Length, Pixels.Length)); - public void DrawPanel(PackedPanel panel, int frameIndex, int depth = 0) { DrawPanel(panel, frameIndex, string.IsNullOrWhiteSpace(panel.Key) ? panel.Node.StableKey() : panel.Key, depth); @@ -2373,14 +2369,7 @@ internal static class AabbPacker internal sealed record PackedPanel(EveNode Node, RectI Rect, float Weight, string Key, bool Minimized); internal readonly record struct RectI(int X, int Y, int Width, int Height) { - public float CenterX => X + Width * 0.5f; - public float CenterY => Y + Height * 0.5f; public bool Contains(int x, int y) => x >= X && x < X + Width && y >= Y && y < Y + Height; - public bool Intersects(RectI other) => - X < other.X + other.Width && - X + Width > other.X && - Y < other.Y + other.Height && - Y + Height > other.Y; } internal sealed class EveNode diff --git a/src/Gjallar/VerseState.cs b/src/Gjallar/VerseState.cs index 4169823..e14a764 100644 --- a/src/Gjallar/VerseState.cs +++ b/src/Gjallar/VerseState.cs @@ -291,11 +291,9 @@ internal sealed class GjallarVersePulse public FrameTimings Timings { get; set; } public DateTimeOffset ObservedAt { get; set; } public string ReceiveStatus { get; set; } = "starting"; - public string ReceiveAttemptStatus { get; set; } = "starting"; public string ReceiveError { get; set; } = ""; public string ProviderFetchError { get; set; } = ""; public string ProviderFetchUri { get; set; } = ""; - public string LastSuccessfulReceiveAt { get; set; } = ""; public int ConsecutiveReceiveFailures { get; set; } public int CatalogProviders { get; set; } public int ComposedProviders { get; set; } diff --git a/src/Gjallar/assets/fonts/Unifont-APL8x16.psf.gz b/src/Gjallar/assets/fonts/Unifont-APL8x16.psf.gz deleted file mode 100644 index 686a7c4..0000000 Binary files a/src/Gjallar/assets/fonts/Unifont-APL8x16.psf.gz and /dev/null differ