daily update on 20240427 by nitload youmu

This commit is contained in:
YoumuLiu
2024-04-27 05:09:38 +08:00
parent dd6e8247bf
commit f83a130074
52 changed files with 1470 additions and 271 deletions
@@ -279,25 +279,25 @@ namespace StgSharp.Graphics
// _GLFWcontext context; // 根据_GLFWcontext的定义转换
// Callbacks are represented as IntPtr since we don't need the actual function pointers in C#
struct Callbacks
internal struct Callbacks
{
IntPtr pos;
IntPtr size;
IntPtr close;
IntPtr refresh;
IntPtr focus;
IntPtr iconify;
IntPtr maximize;
IntPtr fbsize;
IntPtr scale;
IntPtr mouseButton;
IntPtr cursorPos;
IntPtr cursorEnter;
IntPtr scroll;
IntPtr key;
IntPtr character;
IntPtr charmods;
IntPtr drop;
internal IntPtr pos;
internal IntPtr size;
internal IntPtr close;
internal IntPtr refresh;
internal IntPtr focus;
internal IntPtr iconify;
internal IntPtr maximize;
internal IntPtr fbsize;
internal IntPtr scale;
internal IntPtr mouseButton;
internal IntPtr cursorPos;
internal IntPtr cursorEnter;
internal IntPtr scroll;
internal IntPtr key;
internal IntPtr character;
internal IntPtr charmods;
internal IntPtr drop;
}
Callbacks callbacks;
+1 -1
View File
@@ -99,7 +99,7 @@ namespace StgSharp.Graphics
internal unsafe delegate void GLFWvkproc();
internal unsafe delegate void GLFWscrollfun(glfwWindow* window, double xoffset, double yoffset);
internal unsafe delegate void GLFWmousebuttonfun(glfwWindow* window, int button, int action, int mods);
internal unsafe delegate void GLFWmonitorfun(GLFWmonitor* monitor, int monitorevent);
internal unsafe delegate void GLFWmonitorfun(glfwMonitor* monitor, int monitorevent);
internal unsafe delegate void GLFWkeyfun(glfwWindow* window, int key, int scancode, int action, int mods);
internal unsafe delegate void GLFWjoystickfun(int jid, int keyevent);
public unsafe delegate void GLFWglproc();