1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 14:53:01 +08:00

icons with TextAwesome

This commit is contained in:
n4b3l 2016-12-17 11:57:52 +01:00
parent 590db66b37
commit 376b3df2f8

View File

@ -143,26 +143,26 @@ namespace osu.Game.Screens.Select
new Container new Container
{ {
Margin = new MarginPadding { Top = 20 }, Margin = new MarginPadding { Top = 20 },
//AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Children = new Drawable[] Children = new Drawable[]
{ {
new Container new Container
{ {
Margin = new MarginPadding { Left = 10, Top = 10 },
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Children = new[] Children = new[] {
{
new TextAwesome new TextAwesome
{ {
Icon = FontAwesome.fa_square, Icon = FontAwesome.fa_square,
Colour = Color4.Purple, Colour = new Color4(68,17,136,255),
TextSize = 17, TextSize = 17,
Rotation = 45, Rotation = 45,
}, },
new TextAwesome new TextAwesome
{ {
Icon = FontAwesome.fa_clock_o, Icon = FontAwesome.fa_clock_o,
Colour = Color4.Purple, Colour = new Color4(255,221,85,255),
TextSize = 17, TextSize = 14,
} }
} }
}, },
@ -176,15 +176,22 @@ namespace osu.Game.Screens.Select
}, },
new Container new Container
{ {
Margin = new MarginPadding { Left = 100 }, Margin = new MarginPadding { Left = 110, Top = 10 },
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Children = new[] Children = new[] {
new TextAwesome
{ {
new Sprite Icon = FontAwesome.fa_square,
{ Colour = new Color4(68,17,136,255),
TextSize = 17,
Scale = new Vector2(0.5f, 0.5f), Rotation = 45,
}, },
new TextAwesome
{
Icon = FontAwesome.fa_circle_o,
Colour = new Color4(255,221,85,255),
TextSize = 14,
}
} }
}, },
new SpriteText new SpriteText
@ -197,15 +204,22 @@ namespace osu.Game.Screens.Select
}, },
new Container new Container
{ {
Margin = new MarginPadding { Left = 200 }, Margin = new MarginPadding { Left = 210, Top = 10 },
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Children = new[] Children = new[] {
new TextAwesome
{ {
new Sprite Icon = FontAwesome.fa_square,
{ Colour = new Color4(68,17,136,255),
TextSize = 17,
Scale = new Vector2(0.5f, 0.5f), Rotation = 45,
}, },
new TextAwesome
{
Icon = FontAwesome.fa_dot_circle_o,
Colour = new Color4(255,221,85,255),
TextSize = 14,
}
} }
}, },
new SpriteText new SpriteText
@ -218,15 +232,22 @@ namespace osu.Game.Screens.Select
}, },
new Container new Container
{ {
Margin = new MarginPadding { Left = 300 }, Margin = new MarginPadding { Left = 310, Top = 10 },
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Children = new[] Children = new[] {
new TextAwesome
{ {
new Sprite Icon = FontAwesome.fa_square,
{ Colour = new Color4(68,17,136,255),
TextSize = 17,
Scale = new Vector2(0.5f, 0.5f), Rotation = 45,
}, },
new TextAwesome
{
Icon = FontAwesome.fa_circle_o,
Colour = new Color4(255,221,85,255),
TextSize = 14,
}
} }
}, },
new SpriteText new SpriteText