1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-13 07:13:39 +08:00
Files
osu-lazer/osu.Game.Rulesets.Mania/Edit/HoldNoteCompositionTool.cs
T
Krzysztof Gutkowski 3c21a40f12 Add custom editor toolbox icons for taiko, mania, and catch (#37804)
Requires https://github.com/ppy/osu-resources/pull/424.

Replaces the editor toolbox icons for taiko, mania, and catch rulesets
with new designs, courtesy of [Adarin](https://osu.ppy.sh/users/118360).

| taiko | catch | mania |
|--------|--------|--------|
| <img width="369" height="401" alt="image"
src="https://github.com/user-attachments/assets/25dc6259-02b4-4a23-9a80-529a366c270e"
/> | <img width="369" height="401" alt="image"
src="https://github.com/user-attachments/assets/4bf67bf9-8a45-4075-8d33-f0501cdb08cb"
/> | <img width="369" height="317" alt="image"
src="https://github.com/user-attachments/assets/d130a97e-c082-4b01-a88a-d3209c05e33b"
/> |

---------

Co-authored-by: Dean Herbert <pe@ppy.sh>
2026-05-20 04:24:21 +09:00

25 lines
779 B
C#

// 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.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Tools;
using osu.Game.Rulesets.Mania.Edit.Blueprints;
namespace osu.Game.Rulesets.Mania.Edit
{
public class HoldNoteCompositionTool : CompositionTool
{
public HoldNoteCompositionTool()
: base("Hold")
{
}
public override Drawable CreateIcon() => new SpriteIcon { Icon = OsuIcon.EditorHoldNote };
public override HitObjectPlacementBlueprint CreatePlacementBlueprint() => new HoldNotePlacementBlueprint();
}
}