Adjust sprite texts in-line with framework changes

This commit is contained in:
smoogipoo
2019-02-12 13:04:46 +09:00
parent e174fa2d3e
commit a2aa3ec5cb
140 changed files with 424 additions and 514 deletions

View File

@ -41,8 +41,7 @@ namespace osu.Game.Screens.Multi.Match.Components
Depth = -1,
Origin = Anchor.Centre,
Anchor = Anchor.Centre,
Font = @"Exo2.0-Light",
TextSize = 30,
Font = OsuFont.GetFont(weight: FontWeight.Light, size: 30),
};
}
}

View File

@ -4,6 +4,7 @@
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osu.Game.Online.Chat;
using osu.Game.Users;
@ -53,7 +54,8 @@ namespace osu.Game.Screens.Multi.Match.Components
{
linkContainer.AddText("hosted by");
linkContainer.NewLine();
linkContainer.AddLink(host.Username, null, LinkAction.OpenUserProfile, host.Id.ToString(), "View Profile", s => s.Font = "Exo2.0-BoldItalic");
linkContainer.AddLink(host.Username, null, LinkAction.OpenUserProfile, host.Id.ToString(), "View Profile",
s => s.Font = OsuFont.GetFont(Typeface.Exo, weight: FontWeight.Bold, italics: true));
}
}
}

View File

@ -62,7 +62,7 @@ namespace osu.Game.Screens.Multi.Match.Components
{
new OsuSpriteText
{
TextSize = 30,
Font = OsuFont.GetFont(size: 30),
Current = Name
},
new RoomStatusInfo(),

View File

@ -148,7 +148,7 @@ namespace osu.Game.Screens.Multi.Match.Components
},
typeLabel = new OsuSpriteText
{
TextSize = 14,
Font = OsuFont.GetFont(size: 14),
Colour = colours.Yellow
},
},
@ -364,8 +364,7 @@ namespace osu.Game.Screens.Multi.Match.Components
{
new OsuSpriteText
{
TextSize = 12,
Font = @"Exo2.0-Bold",
Font = OsuFont.GetFont(weight: FontWeight.Bold, size: 12),
Text = title.ToUpper(),
},
content = new Container

View File

@ -68,7 +68,7 @@ namespace osu.Game.Screens.Multi.Match.Components
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Font = @"Exo2.0-Bold",
Font = OsuFont.GetFont(weight: FontWeight.Bold),
Text = value.GetDescription(),
},
};