mirror of
https://github.com/osukey/osukey.git
synced 2025-05-12 17:17:31 +09:00
26 lines
656 B
C#
26 lines
656 B
C#
// 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.
|
|
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Containers;
|
|
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;
|
|
}
|
|
|
|
protected override Drawable CreateLayout() => new Container
|
|
{
|
|
RelativeSizeAxes = Axes.Both,
|
|
};
|
|
}
|
|
}
|