Update icon usage to match framework changes

This commit is contained in:
Dean Herbert
2019-03-27 19:29:27 +09:00
parent 4e8945a2aa
commit de80fc0eac
159 changed files with 467 additions and 1307 deletions

View File

@ -11,6 +11,7 @@ using osu.Game.Graphics;
using osuTK;
using osuTK.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
@ -174,7 +175,7 @@ namespace osu.Game.Overlays.Notifications
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Icon = FontAwesome.fa_times_circle,
Icon = FontAwesome.TimesCircle,
Size = new Vector2(20),
}
};

View File

@ -4,6 +4,7 @@
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Overlays.Notifications
{
@ -11,7 +12,7 @@ namespace osu.Game.Overlays.Notifications
{
public ProgressCompletionNotification()
{
Icon = FontAwesome.fa_check;
Icon = FontAwesome.Check;
}
[BackgroundDependencyLoader]

View File

@ -6,6 +6,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osuTK;
@ -26,9 +27,9 @@ namespace osu.Game.Overlays.Notifications
}
}
private FontAwesome icon = FontAwesome.fa_info_circle;
private IconUsage icon = FontAwesome.InfoCircle;
public FontAwesome Icon
public IconUsage Icon
{
get => icon;
set