2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-02-07 12:59:30 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2017-02-07 12:52:19 +08:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics.UserInterface;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Graphics.UserInterface
|
|
|
|
|
{
|
2017-11-26 00:52:52 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A button with added default sound effects.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class OsuButton : Button
|
2017-02-07 12:52:19 +08:00
|
|
|
|
{
|
2017-11-26 01:41:18 +08:00
|
|
|
|
public OsuButton()
|
2017-08-18 02:23:44 +08:00
|
|
|
|
{
|
2017-11-26 01:41:18 +08:00
|
|
|
|
Add(new HoverClickSounds(HoverSampleSet.Loud));
|
2017-08-18 02:23:44 +08:00
|
|
|
|
}
|
2017-02-07 12:52:19 +08:00
|
|
|
|
}
|
2017-08-23 18:25:40 +08:00
|
|
|
|
}
|