mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-22 01:12:24 +00:00
26 lines
562 B
C#
26 lines
562 B
C#
|
using FSO.Common.Rendering.Framework.Model;
|
|||
|
using Microsoft.Xna.Framework;
|
|||
|
|
|||
|
namespace FSO.Common.Rendering.Framework.IO
|
|||
|
{
|
|||
|
public enum UIMouseEventType
|
|||
|
{
|
|||
|
MouseOver,
|
|||
|
MouseOut,
|
|||
|
MouseDown,
|
|||
|
MouseUp
|
|||
|
}
|
|||
|
|
|||
|
public delegate void UIMouseEvent(UIMouseEventType type, UpdateState state);
|
|||
|
|
|||
|
public class UIMouseEventRef
|
|||
|
{
|
|||
|
public UIMouseEvent Callback;
|
|||
|
public Rectangle Region;
|
|||
|
//public UIElement Element;
|
|||
|
public UIMouseEventType LastState;
|
|||
|
|
|||
|
public IDepthProvider Element;
|
|||
|
}
|
|||
|
}
|