osu/osu.Game/Overlays/Changelog/ChangelogContent.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
717 B
C#
Raw Normal View History

2019-05-13 08:14:52 +00: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.
2018-07-19 17:07:24 +00:00
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.API.Requests.Responses;
2018-07-20 20:11:51 +00:00
using System;
2018-07-19 17:07:24 +00:00
namespace osu.Game.Overlays.Changelog
{
2018-07-22 03:28:43 +00:00
public class ChangelogContent : FillFlowContainer
2018-07-19 17:07:24 +00:00
{
public Action<APIChangelogBuild> BuildSelected;
2018-07-22 18:14:28 +00:00
public void SelectBuild(APIChangelogBuild build) => BuildSelected?.Invoke(build);
2018-07-19 17:07:24 +00:00
public ChangelogContent()
{
RelativeSizeAxes = Axes.X;
2018-07-19 19:49:13 +00:00
AutoSizeAxes = Axes.Y;
2018-07-19 17:07:24 +00:00
Direction = FillDirection.Vertical;
2018-07-22 03:28:43 +00:00
}
2018-07-19 17:07:24 +00:00
}
}