Gondwana Game Engine Development (master) - 2.7.0
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
MenuBarTheme.cs
1using System.Drawing;
2
4
8public sealed record MenuBarTheme
9{
11 public static MenuBarTheme Default { get; } = new();
12
16 public Color BarBackgroundColor { get; init; } = Color.FromArgb(
17 255,
18 44,
19 44,
20 52);
21
25 public Color BarBorderColor { get; init; } = Color.FromArgb(
26 255,
27 92,
28 92,
29 104);
30
34 public Color HeaderNormalColor { get; init; } = Color.Transparent;
35
39 public Color HeaderHoverColor { get; init; } = Color.FromArgb(
40 255,
41 68,
42 68,
43 80);
44
48 public Color HeaderPressedColor { get; init; } = Color.FromArgb(
49 255,
50 52,
51 52,
52 62);
53
57 public Color HeaderOpenColor { get; init; } = Color.FromArgb(
58 255,
59 76,
60 76,
61 90);
62
66 public Color DropDownBackgroundColor { get; init; } = Color.FromArgb(
67 250,
68 40,
69 40,
70 48);
71
75 public Color DropDownBorderColor { get; init; } = Color.FromArgb(
76 255,
77 116,
78 116,
79 132);
80
84 public Color ItemNormalColor { get; init; } = Color.Transparent;
85
89 public Color ItemHoverColor { get; init; } = Color.FromArgb(
90 255,
91 72,
92 72,
93 88);
94
98 public Color ItemPressedColor { get; init; } = Color.FromArgb(
99 255,
100 54,
101 54,
102 66);
103
107 public Color TextColor { get; init; } = Color.White;
108
112 public Color DisabledTextColor { get; init; } = Color.FromArgb(
113 255,
114 138,
115 138,
116 148);
117
121 public Color ShortcutTextColor { get; init; } = Color.FromArgb(
122 255,
123 194,
124 194,
125 204);
126
130 public Color SeparatorColor { get; init; } = Color.FromArgb(
131 255,
132 92,
133 92,
134 104);
135
139 public int MinimumHeaderWidth { get; init; } = 48;
140
144 public int HeaderHorizontalPadding { get; init; } = 14;
145
149 public float EstimatedGlyphWidth { get; init; } = 8.5f;
150
154 public int DefaultDropDownWidth { get; init; } = 220;
155
159 public int MinimumDropDownWidth { get; init; } = 140;
160
164 public int DropDownHorizontalPadding { get; init; } = 5;
165
169 public int DropDownVerticalPadding { get; init; } = 5;
170
174 public int ItemHeight { get; init; } = 28;
175
179 public int ItemHorizontalPadding { get; init; } = 10;
180
184 public int ShortcutGap { get; init; } = 24;
185
187 public int MarkerColumnWidth { get; init; } = 24;
188
190 public int IconSize { get; init; } = 18;
191
193 public int IconGap { get; init; } = 6;
194
196 public int SubMenuArrowWidth { get; init; } = 20;
197
199 public int SubMenuGap { get; init; } = 0;
200
202 public int IndicatorSize { get; init; } = 14;
203
205 public float IndicatorStrokeWidth { get; init; } = 1.8f;
206
208 public Color IndicatorColor { get; init; } = Color.White;
209
213 public int SeparatorHeight { get; init; } = 9;
214
218 public float FontSize { get; init; } = 15f;
219
223 public float MinimumFontSize { get; init; } = 10f;
224
228 public float BorderWidth { get; init; } = 1f;
229
233 public float CornerRadius { get; init; } = 3f;
234}
record MenuBarTheme
Defines the dimensions and colors used by menu bar widgets.