Abstract out GLFW calls from Simulate.

PiperOrigin-RevId: 500129478
Change-Id: I7ba998e20439575ad9a3fe1a866c3db4c36b9328
This commit is contained in:
Saran Tunyasuvunakool
2023-01-06 02:36:01 -08:00
committed by Copybara-Service
parent 048bd43724
commit e40775fab3
15 changed files with 847 additions and 624 deletions
+4
View File
@@ -404,6 +404,8 @@ public enum mjtEvent : int{
mjEVENT_SCROLL = 4,
mjEVENT_KEY = 5,
mjEVENT_RESIZE = 6,
mjEVENT_REDRAW = 7,
mjEVENT_FILESDROP = 8,
}
public enum mjtCatBit : int{
mjCAT_STATIC = 1,
@@ -2332,6 +2334,8 @@ public unsafe struct mjuiState_ {
public int mouserect;
public int dragrect;
public int dragbutton;
public int dropcount;
public char** droppaths;
}
[StructLayout(LayoutKind.Sequential)]