mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 18:27:19 +08:00
Update hit error metre to use new icons
- [ ] Depends on https://github.com/ppy/osu-resources/pull/317.
This commit is contained in:
parent
2e1d63a1c2
commit
9521c1e3e4
@ -175,6 +175,8 @@ namespace osu.Game.Graphics
|
||||
public static IconUsage EditorSelect => get(OsuIconMapping.EditorSelect);
|
||||
public static IconUsage EditorSound => get(OsuIconMapping.EditorSound);
|
||||
public static IconUsage EditorWhistle => get(OsuIconMapping.EditorWhistle);
|
||||
public static IconUsage Tortoise => get(OsuIconMapping.Tortoise);
|
||||
public static IconUsage Hare => get(OsuIconMapping.Hare);
|
||||
|
||||
private static IconUsage get(OsuIconMapping glyph) => new IconUsage((char)glyph, FONT_NAME);
|
||||
|
||||
@ -380,6 +382,12 @@ namespace osu.Game.Graphics
|
||||
|
||||
[Description(@"Editor/whistle")]
|
||||
EditorWhistle,
|
||||
|
||||
[Description(@"tortoise")]
|
||||
Tortoise,
|
||||
|
||||
[Description(@"hare")]
|
||||
Hare,
|
||||
}
|
||||
|
||||
public class OsuIconStore : ITextureStore, ITexturedGlyphLookupStore
|
||||
|
@ -303,13 +303,13 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
|
||||
labelEarly.Child = new SpriteIcon
|
||||
{
|
||||
Size = new Vector2(icon_size),
|
||||
Icon = FontAwesome.Solid.ShippingFast,
|
||||
Icon = OsuIcon.Hare
|
||||
};
|
||||
|
||||
labelLate.Child = new SpriteIcon
|
||||
{
|
||||
Size = new Vector2(icon_size),
|
||||
Icon = FontAwesome.Solid.Bicycle,
|
||||
Icon = OsuIcon.Tortoise
|
||||
};
|
||||
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user