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