2024-04-12 14:29:26 +02:00
|
|
|
using System.Runtime.InteropServices;
|
2024-04-20 15:54:17 +02:00
|
|
|
using EndiannessSourceGenerator;
|
2024-04-12 14:29:26 +02:00
|
|
|
|
|
|
|
namespace DisplayCommands.Internals;
|
|
|
|
|
2024-04-20 15:54:17 +02:00
|
|
|
[StructEndianness(IsLittleEndian = false)]
|
2024-04-12 14:29:26 +02:00
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 16, Size = 10)]
|
2024-04-20 15:54:17 +02:00
|
|
|
internal partial struct HeaderWindow
|
2024-04-12 14:29:26 +02:00
|
|
|
{
|
2024-04-20 15:54:17 +02:00
|
|
|
private ushort _command;
|
2024-04-12 14:29:26 +02:00
|
|
|
|
2024-04-20 15:54:17 +02:00
|
|
|
private ushort _posX;
|
2024-04-12 14:29:26 +02:00
|
|
|
|
2024-04-20 15:54:17 +02:00
|
|
|
private ushort _posY;
|
2024-04-12 14:29:26 +02:00
|
|
|
|
2024-04-20 15:54:17 +02:00
|
|
|
private ushort _width;
|
2024-04-12 14:29:26 +02:00
|
|
|
|
2024-04-20 15:54:17 +02:00
|
|
|
private ushort _height;
|
2024-04-19 13:40:26 +02:00
|
|
|
}
|