aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2023-06-28 19:03:27 +0200
committerGitHub <noreply@github.com>2023-06-28 19:03:27 +0200
commit40daca5684afdc8a62dfcb1beb27c58b5262c9e7 (patch)
tree0b4fc882c96771a5a7b4efa54085cf3dd5c15b42 /src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
parent981e0c082d8b55e65b7bd9ef07c92ed761b88ab7 (diff)
[Ryujinx.Headless.SDL2] Address dotnet-format issues (#5379)
* dotnet format style --severity info Some changes were manually reverted. * dotnet format analyzers --serverity info Some changes have been minimally adapted. * Restore a few unused methods and variables * Address or silence dotnet format CA1806 and a few CA1854 warnings * Address most dotnet format whitespace warnings * Apply dotnet format whitespace formatting A few of them have been manually reverted and the corresponding warning was silenced * Simplify properties and array initialization, Use const when possible, Remove trailing commas * Revert "Simplify properties and array initialization, Use const when possible, Remove trailing commas" This reverts commit 9462e4136c0a2100dc28b20cf9542e06790aa67e. * dotnet format whitespace after rebase * First dotnet format pass * Add trailing commas * Fix naming and formatting issues
Diffstat (limited to 'src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs')
-rw-r--r--src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs b/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
index 4ef00b3c..361ef090 100644
--- a/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
+++ b/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
@@ -6,12 +6,10 @@ namespace Ryujinx.Headless.SDL2
{
public string FontFamily => "sans-serif";
- public ThemeColor DefaultBackgroundColor => new ThemeColor(1, 0, 0, 0);
- public ThemeColor DefaultForegroundColor => new ThemeColor(1, 1, 1, 1);
- public ThemeColor DefaultBorderColor => new ThemeColor(1, 1, 1, 1);
- public ThemeColor SelectionBackgroundColor => new ThemeColor(1, 1, 1, 1);
- public ThemeColor SelectionForegroundColor => new ThemeColor(1, 0, 0, 0);
-
- public HeadlessHostUiTheme() { }
+ public ThemeColor DefaultBackgroundColor => new(1, 0, 0, 0);
+ public ThemeColor DefaultForegroundColor => new(1, 1, 1, 1);
+ public ThemeColor DefaultBorderColor => new(1, 1, 1, 1);
+ public ThemeColor SelectionBackgroundColor => new(1, 1, 1, 1);
+ public ThemeColor SelectionForegroundColor => new(1, 0, 0, 0);
}
-} \ No newline at end of file
+}