mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-07 23:20:27 -04:00
Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
25
server/tso.common/Rendering/Framework/IO/MouseEvent.cs
Executable file
25
server/tso.common/Rendering/Framework/IO/MouseEvent.cs
Executable file
|
@ -0,0 +1,25 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue