-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Now uses the new array-like collections initializers everyw…
…here. fix: Improved the bandwidth chart logic (which was buggy and probably still is ?).
- Loading branch information
Showing
19 changed files
with
212 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Windows.Media; | ||
|
||
namespace Wokhan.WindowsFirewallNotifier.Console.Helpers; | ||
|
||
public static class ColorGenerator | ||
{ | ||
public static readonly List<Color> Variations = [ | ||
Color.FromRgb(0x00, 0x3f, 0x5c), | ||
Color.FromRgb(0x2f, 0x4b, 0x7c), | ||
Color.FromRgb(0x66, 0x51, 0x91), | ||
Color.FromRgb(0xa0, 0x51, 0x95), | ||
Color.FromRgb(0xd4, 0x50, 0x87), | ||
Color.FromRgb(0xf9, 0x5d, 0x6a), | ||
Color.FromRgb(0xff, 0x7c, 0x43), | ||
Color.FromRgb(0xff, 0xa6, 0x00) | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
namespace Wokhan.WindowsFirewallNotifier.Console.UI.Controls; | ||
using Wokhan.WindowsFirewallNotifier.Console.ViewModels; | ||
|
||
public record BandwidthDateTimePoint(DateTime DateTime, ulong? BandwidthIn = null, ulong? BandwidthOut = null); | ||
namespace Wokhan.WindowsFirewallNotifier.Console.UI.Controls; | ||
|
||
public record BandwidthDateTimePoint(DateTime DateTime, ulong? BandwidthIn = null, ulong? BandwidthOut = null, GroupedMonitoredConnections? Source = null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.