mirror of
https://github.com/ppy/osu.git
synced 2024-12-27 20:22:56 +08:00
26 lines
775 B
C#
26 lines
775 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.Online.API.Requests.Responses;
|
|
using System;
|
|
|
|
namespace osu.Game.Overlays.Changelog
|
|
{
|
|
public class ChangelogContent : FillFlowContainer
|
|
{
|
|
public Action<APIChangelogBuild> BuildSelected;
|
|
|
|
public void SelectBuild(APIChangelogBuild build) => BuildSelected?.Invoke(build);
|
|
|
|
public ChangelogContent()
|
|
{
|
|
RelativeSizeAxes = Axes.X;
|
|
AutoSizeAxes = Axes.Y;
|
|
Direction = FillDirection.Vertical;
|
|
Padding = new MarginPadding { Bottom = 100 };
|
|
}
|
|
}
|
|
}
|