1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
using System;
using System.Runtime.InteropServices;
namespace MyGUI.Sharp
{
[StructLayout(LayoutKind.Sequential)]
public struct IBDrawItemInfo
{
[MarshalAs(UnmanagedType.U4)]
public uint index;
[MarshalAs(UnmanagedType.U1)]
public bool update;
[MarshalAs(UnmanagedType.U1)]
public bool select;
[MarshalAs(UnmanagedType.U1)]
public bool active;
[MarshalAs(UnmanagedType.U1)]
public bool drag;
[MarshalAs(UnmanagedType.U1)]
public bool drop_accept;
[MarshalAs(UnmanagedType.U1)]
public bool drop_refuse;
}
}
|