private void load() { InternalChild = new Container { Anchor = Anchor.Centre, Origin = Anchor.Centre, RelativeSizeAxes = Axes.Both, Child = Text = new OsuSpriteText { Anchor = Anchor.Centre, Origin = Anchor.Centre, Font = OsuFont.Numeric.With(size: 20), Colour = colours.ForHitResult(Type), Scale = new Vector2(0.5f), Position = new Vector2(0, -45) } }; var result = GetADOFAIResult(); Text.Text = new CaseTransformableString(result.GetLocalisableDescription(), Casing.UpperCase); }
private void load() { InternalChild = new Container { Anchor = Anchor.Centre, Origin = Anchor.Centre, RelativeSizeAxes = Axes.Both, Child = Text = new OsuSpriteText { Anchor = Anchor.Centre, Origin = Anchor.Centre, Text = Type.GetDescription().ToUpperInvariant(), Font = OsuFont.Numeric.With(size: 20), Colour = colours.ForHitResult(Type), Scale = new Vector2(0.5f), Position = new Vector2(0, -45) } }; var result = GetADOFAIResult(); Text.Text = result.GetDescription().ToUpperInvariant(); }