mirror of
https://github.com/ppy/osu.git
synced 2024-11-09 09:37:42 +08:00
25 lines
717 B
C#
25 lines
717 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;
|
|
}
|
|
}
|
|
}
|