21 lines
543 B
C#
21 lines
543 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BITKit.Selection
|
|
{
|
|
public interface ISelector
|
|
{
|
|
bool TryGetCurrentSelectable(out ISelectable selectable);
|
|
event Action<ISelectable> OnNone;
|
|
event Action<ISelectable> OnHover;
|
|
event Action<ISelectable> OnActive;
|
|
event Action<ISelectable> OnInactive;
|
|
event Action<ISelectable> OnFocus;
|
|
event Action<ISelectable> OnSelected;
|
|
event Action<ISelectable> OnEnabled;
|
|
event Action<ISelectable> OnChecked;
|
|
event Action<ISelectable> OnRoot;
|
|
}
|
|
}
|