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
|
|
|
|
}
|
|
|
|
|
}
|