Add unified input event queue and cursor support for window manager

This commit is contained in:
Stone_Red
2026-06-17 00:50:05 +02:00
parent 8d1cd6d369
commit 633ded2d62
7 changed files with 253 additions and 27 deletions
+9
View File
@@ -90,6 +90,11 @@ public class RenderCommand
case RenderCommandType.RemovePrimitives:
break;
case RenderCommandType.SetCursor:
WriteInt16(s, Position.X);
WriteInt16(s, Position.Y);
break;
}
}
@@ -154,6 +159,10 @@ public class RenderCommand
case RenderCommandType.RemovePrimitives:
break;
case RenderCommandType.SetCursor:
pos = new Point(ReadInt16(data, ref offset), ReadInt16(data, ref offset));
break;
}
return new RenderCommand