2017-02-07 12:59:30 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// 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
|
|
|
|
}
|