1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00
osu-lazer/osu.Game/Graphics/UserInterfaceV2/Users/UserGridCard.cs

26 lines
656 B
C#
Raw Normal View History

2020-03-04 13:41:21 +08:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2020-03-04 15:35:43 +08:00
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
2020-03-04 13:41:21 +08:00
using osu.Game.Users;
using osuTK;
namespace osu.Game.Graphics.UserInterfaceV2.Users
{
public class UserGridCard : UserCard
{
public UserGridCard(User user)
: base(user)
{
Size = new Vector2(290, 120);
CornerRadius = 10;
}
2020-03-04 15:35:43 +08:00
protected override Drawable CreateLayout() => new Container
{
RelativeSizeAxes = Axes.Both,
};
2020-03-04 13:41:21 +08:00
}
}