-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStructs.cs
More file actions
33 lines (31 loc) · 825 Bytes
/
Structs.cs
File metadata and controls
33 lines (31 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace RayGui_cs
{
[SuppressUnmanagedCodeSecurity]
public static unsafe partial class RayGui
{
[StructLayout(LayoutKind.Sequential)]
public struct GuiStyleProp
{
public ushort controlId;
public ushort propertyId;
public int propertyValue;
}
[StructLayout(LayoutKind.Sequential)]
public struct GuiTextBoxState
{
public int cursor;
public int start;
public int index;
public int select;
}
[StructLayout(LayoutKind.Sequential)]
public struct GuiTextBoxEditMode
{
//[MarshalAs(UnmanagedType.I1)]
//public bool editMode;
public CBool editMode;
public int framesCounter;
}
}
}