2017-02-07 04:59:30 +00: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 04:52:19 +00:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics.UserInterface;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Graphics.UserInterface
|
|
|
|
|
{
|
2017-11-25 16:52:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A button with added default sound effects.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class OsuButton : Button
|
2017-02-07 04:52:19 +00:00
|
|
|
|
{
|
2017-11-25 17:41:18 +00:00
|
|
|
|
public OsuButton()
|
2017-08-17 18:23:44 +00:00
|
|
|
|
{
|
2017-11-25 17:41:18 +00:00
|
|
|
|
Add(new HoverClickSounds(HoverSampleSet.Loud));
|
2017-08-17 18:23:44 +00:00
|
|
|
|
}
|
2017-02-07 04:52:19 +00:00
|
|
|
|
}
|
2017-08-23 10:25:40 +00:00
|
|
|
|
}
|