public override bool Equals(object obj)
 {
     if (obj is WindowPtr)
     {
         WindowPtr other = (WindowPtr)obj;
         return(this == other);
     }
     return(false);
 }
 internal static extern int glfwGetWindowAttrib(WindowPtr window, int param);
		internal static extern void glfwHideWindow(WindowPtr window);
		internal static extern void glfwSetWindowSize(WindowPtr window, int width, int height);
		internal static extern void glfwSetWindowTitle(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string title);
		internal static extern WindowPtr glfwCreateWindow(int width, int height, [MarshalAs(UnmanagedType.LPStr)] string title, MonitorPtr monitor, WindowPtr share);
		internal static extern void glfwMakeContextCurrent(WindowPtr window);
		internal static extern GlfwCursorEnterFun glfwSetCursorEnterCallback(WindowPtr window, GlfwCursorEnterFun cbfun);
 internal static extern int glfwGetInputMode(WindowPtr window, InputMode mode);
Exemple #10
0
 internal static extern GlfwWindowIconifyFun glfwSetWindowIconifyCallback(WindowPtr window, GlfwWindowIconifyFun cbfun);
Exemple #11
0
 internal static extern GlfwWindowFocusFun glfwSetWindowFocusCallback(WindowPtr window, GlfwWindowFocusFun cbfun);
Exemple #12
0
 internal static extern GlfwWindowRefreshFun glfwSetWindowRefreshCallback(WindowPtr window, GlfwWindowRefreshFun cbfun);
Exemple #13
0
 internal static extern GlfwWindowCloseFun glfwSetWindowCloseCallback(WindowPtr window, GlfwWindowCloseFun cbfun);
Exemple #14
0
 internal static extern IntPtr glfwGetWindowUserPointer(WindowPtr window);
Exemple #15
0
 internal static extern void glfwSetWindowUserPointer(WindowPtr window, IntPtr pointer);
		internal static extern void glfwSetCursorPos(WindowPtr window, double xpos, double ypos);
		internal static extern GlfwCharFun glfwSetCharCallback(WindowPtr window, GlfwCharFun cbfun);
Exemple #18
0
 internal static extern void glfwSetInputMode(WindowPtr window, InputMode mode, CursorMode value);
		internal static extern void glfwSetClipboardString(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string @string);
Exemple #20
0
 internal static extern int glfwGetKey(WindowPtr window, Key key);
		internal static extern void glfwGetFramebufferSize(WindowPtr window, out int width, out int height);
Exemple #22
0
 internal static extern int glfwGetMouseButton(WindowPtr window, MouseButton button);
		internal static extern int glfwWindowShouldClose(WindowPtr window);
Exemple #24
0
 internal static extern void glfwSetCursorPos(WindowPtr window, double xpos, double ypos);
		internal static extern void glfwSetWindowPos(WindowPtr window, int xpos, int ypos);
Exemple #26
0
 internal static extern GlfwKeyFun glfwSetKeyCallback(WindowPtr window, GlfwKeyFun cbfun);
		internal static extern void glfwRestoreWindow(WindowPtr window);
Exemple #28
0
 internal static extern GlfwCharFun glfwSetCharCallback(WindowPtr window, GlfwCharFun cbfun);
		internal static extern int glfwGetWindowAttrib(WindowPtr window, int param);
Exemple #30
0
 internal static extern GlfwMouseButtonFun glfwSetMouseButtonCallback(WindowPtr window, GlfwMouseButtonFun cbfun);
		internal static extern int glfwGetMouseButton(WindowPtr window, MouseButton button);
Exemple #32
0
 internal static extern GlfwCursorEnterFun glfwSetCursorEnterCallback(WindowPtr window, GlfwCursorEnterFun cbfun);
		internal static extern GlfwKeyFun glfwSetKeyCallback(WindowPtr window, GlfwKeyFun cbfun);
Exemple #34
0
 internal static extern GlfwScrollFun glfwSetScrollCallback(WindowPtr window, GlfwScrollFun cbfun);
		internal static extern GlfwMouseButtonFun glfwSetMouseButtonCallback(WindowPtr window, GlfwMouseButtonFun cbfun);
Exemple #36
0
 internal static extern void glfwSetClipboardString(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string @string);
		internal static extern GlfwScrollFun glfwSetScrollCallback(WindowPtr window, GlfwScrollFun cbfun);
Exemple #38
0
 internal static extern IntPtr glfwGetClipboardString(WindowPtr window);
		internal static extern IntPtr glfwGetClipboardString(WindowPtr window);
Exemple #40
0
 internal static extern void glfwMakeContextCurrent(WindowPtr window);
		internal static extern void glfwSwapBuffers(WindowPtr window);
Exemple #42
0
 internal static extern void glfwSwapBuffers(WindowPtr window);
		internal static extern GlfwFramebufferSizeFun glfwSetFramebufferSizeCallback(WindowPtr window, GlfwFramebufferSizeFun cbfun);
Exemple #44
0
 internal static extern void glfwGetFramebufferSize(WindowPtr window, out int width, out int height);
		internal static extern void glfwDestroyWindow(WindowPtr window);
Exemple #46
0
 internal static extern GlfwFramebufferSizeFun glfwSetFramebufferSizeCallback(WindowPtr window, GlfwFramebufferSizeFun cbfun);
		internal static extern void glfwSetWindowShouldClose(WindowPtr window, int value);
Exemple #48
0
 internal static extern WindowPtr glfwCreateWindow(int width, int height, [MarshalAs(UnmanagedType.LPStr)] string title, MonitorPtr monitor, WindowPtr share);
		internal static extern void glfwGetWindowPos(WindowPtr window, out int xpos, out int ypos);
Exemple #50
0
 internal static extern void glfwDestroyWindow(WindowPtr window);
		internal static extern void glfwGetWindowSize(WindowPtr window, out int width, out int height);
Exemple #52
0
 internal static extern int glfwWindowShouldClose(WindowPtr window);
		internal static extern void glfwIconifyWindow(WindowPtr window);
Exemple #54
0
 internal static extern void glfwSetWindowShouldClose(WindowPtr window, int value);
		internal static extern void glfwShowWindow(WindowPtr window);
Exemple #56
0
 internal static extern void glfwSetWindowTitle(WindowPtr window, [MarshalAs(UnmanagedType.LPStr)] string title);
		internal static extern MonitorPtr glfwGetWindowMonitor(WindowPtr window);
		internal static extern int glfwGetKey(WindowPtr window, Key key);
		internal static extern void glfwSetWindowUserPointer(WindowPtr window, IntPtr pointer);
Exemple #60
0
 internal static extern MonitorPtr glfwGetWindowMonitor(WindowPtr window);