using System;
using UnityEngine;
namespace Rive.Components
{
///
/// Interface for providing input events to a RivePanel.
///
public interface IPanelInputProvider
{
///
/// Event fired when a pointer is pressed. The Vector2 parameter represents the normalized local point in the panel,
/// where coordinates are in the range [0,1] with (0,0) at bottom-left and (1,1) at top-right.
///
event Action PointerPressed;
///
/// Event fired when a pointer is released. The Vector2 parameter represents the normalized local point in the panel,
/// where coordinates are in the range [0,1] with (0,0) at bottom-left and (1,1) at top-right.
///
event Action PointerReleased;
///
/// Event fired when a pointer is moved. The Vector2 parameter represents the normalized local point in the panel,
/// where coordinates are in the range [0,1] with (0,0) at bottom-left and (1,1) at top-right.
///
event Action PointerMoved;
///
/// Event fired when a pointer exits the panel. The Vector2 parameter represents the normalized local point in the panel,
/// where coordinates are in the range [0,1] with (0,0) at bottom-left and (1,1) at top-right.
///
event Action PointerExited;
///
/// Event fired when a pointer enters the panel. The Vector2 parameter represents the normalized local point in the panel,
/// where coordinates are in the range [0,1] with (0,0) at bottom-left and (1,1) at top-right.
///
event Action PointerEntered;
}
}