Probably Broke something...

This commit is contained in:
lewd-alt
2025-05-06 21:11:32 -07:00
parent 14fdcaf152
commit 449b976f0c
11 changed files with 114 additions and 188 deletions

View File

@@ -28,17 +28,23 @@ public class GlImage
return __refvalue(destRef, GLFW.Window);
}
private GLFW.Window window;
uint shader_program;
uint texture;
uint vertex_buf;
uint vao;
public GLFW.Window window;
private uint shader_program;
private uint texture;
private uint vertex_buf;
private uint vao;
public GlImage() { }
public void ImageSetting() { }
public System.Drawing.Point GetCursorPoint() {
double x, y;
Glfw.GetCursorPosition(window, out x, out y);
return new System.Drawing.Point((int)x, (int)y);
}
public delegate void ShouldCloseCallback();
public ShouldCloseCallback Closing = delegate () { };
@@ -192,6 +198,7 @@ void main()
}
}
/*
public class WPFImage : ElementHost
{
public GlImage gl_img;
@@ -287,3 +294,4 @@ public class WPFImage : ElementHost
}
}
*/