mirror of
https://github.com/ppy/osu.git
synced 2025-03-16 05:37:19 +08:00
Sync changes on composition tools
This commit is contained in:
parent
61a18b952f
commit
44cf2aa7a3
@ -12,8 +12,11 @@ namespace osu.Game.Rulesets.Edit.Tools
|
||||
{
|
||||
public string Name { get; } = typeof(T).Name;
|
||||
|
||||
public Action<InputState, MouseDownEventArgs, bool> OnMouseDown { get; }
|
||||
public Action<InputState, MouseDownEventArgs, bool> OnMouseUp { get; }
|
||||
public Func<InputState, MouseDownEventArgs, bool> OnMouseDown;
|
||||
public Func<InputState, MouseDownEventArgs, bool> OnMouseUp;
|
||||
public Func<InputState, MouseDownEventArgs, bool> OnDragStart;
|
||||
public Func<InputState, MouseDownEventArgs, bool> OnDragRequested;
|
||||
public Func<InputState, MouseDownEventArgs, bool> OnDragEnd;
|
||||
|
||||
public HitObjectCompositionTool()
|
||||
{
|
||||
|
@ -1,16 +1,10 @@
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Input;
|
||||
using System;
|
||||
|
||||
namespace osu.Game.Rulesets.Edit.Tools
|
||||
{
|
||||
public interface ICompositionTool
|
||||
{
|
||||
string Name { get; }
|
||||
|
||||
Action<InputState, MouseDownEventArgs, bool> OnMouseDown { get; }
|
||||
Action<InputState, MouseDownEventArgs, bool> OnMouseUp { get; }
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user