Unstable 1.1.14.0

This commit is contained in:
Markus Isberg
2023-10-02 16:43:54 +03:00
parent 94f5a93a0c
commit cf8f0de659
606 changed files with 21906 additions and 11456 deletions
@@ -0,0 +1,22 @@
#nullable enable
using Microsoft.Xna.Framework;
namespace Barotrauma
{
internal readonly struct CircuitBoxLabel
{
public LocalizedString Value { get; }
public Vector2 Size { get; }
public GUIFont Font { get; }
public CircuitBoxLabel(LocalizedString value, GUIFont font)
{
Value = value;
Font = font;
Size = font.MeasureString(font.ForceUpperCase ? value.Value.ToUpperInvariant() : value.Value);
}
}
}