Exemplo n.º 1
0
 public static void GetWindowPos(GlfwWindowPtr window, out int xpos, out int ypos)
 {
     GLFWDelegates.glfwGetWindowPos(window, out xpos, out ypos);
 }
Exemplo n.º 2
0
 public static void SetClipboardString(GlfwWindowPtr window, string @string)
 {
     GLFWDelegates.glfwSetClipboardString(window, @string);
 }
Exemplo n.º 3
0
 public static void MakeContextCurrent(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwMakeContextCurrent(window);
 }
Exemplo n.º 4
0
 public static GlfwCharFun SetCharCallback(GlfwWindowPtr window, GlfwCharFun cbfun)
 {
     charFun = cbfun;
     return GLFWDelegates.glfwSetCharCallback(window, cbfun);
 }
Exemplo n.º 5
0
 public static GlfwCursorEnterFun SetCursorEnterCallback(GlfwWindowPtr window, GlfwCursorEnterFun cbfun)
 {
     cursorEnterFun = cbfun;
     return GLFWDelegates.glfwSetCursorEnterCallback(window, cbfun);
 }
Exemplo n.º 6
0
 public static bool GetMouseButton(GlfwWindowPtr window, MouseButton button)
 {
     return GLFWDelegates.glfwGetMouseButton(window, button) != 0;
 }
Exemplo n.º 7
0
 public static void SetCursorPos(GlfwWindowPtr window, double xpos, double ypos)
 {
     GLFWDelegates.glfwSetCursorPos(window, xpos, ypos);
 }
Exemplo n.º 8
0
 public static void ShowWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwShowWindow(window);
 }
Exemplo n.º 9
0
 public static void HideWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwHideWindow(window);
 }
Exemplo n.º 10
0
 public static void IconifyWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwIconifyWindow(window);
 }
Exemplo n.º 11
0
 public static void RestoreWindow(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwRestoreWindow(window);
 }
Exemplo n.º 12
0
 public static void SetWindowSize(GlfwWindowPtr window, int width, int height)
 {
     GLFWDelegates.glfwSetWindowSize(window, width, height);
 }
Exemplo n.º 13
0
 public static void GetWindowSize(GlfwWindowPtr window, out int width, out int height)
 {
     GLFWDelegates.glfwGetWindowSize(window, out width, out height);
 }
Exemplo n.º 14
0
 public static void SetWindowPos(GlfwWindowPtr window, int xpos, int ypos)
 {
     GLFWDelegates.glfwSetWindowPos(window, xpos, ypos);
 }
Exemplo n.º 15
0
 public static void SetInputMode(GlfwWindowPtr window, InputMode mode, CursorMode value)
 {
     GLFWDelegates.glfwSetInputMode(window, mode, value);
 }
Exemplo n.º 16
0
 public static GlfwMonitorPtr GetWindowMonitor(GlfwWindowPtr window)
 {
     return GLFWDelegates.glfwGetWindowMonitor(window);
 }
Exemplo n.º 17
0
 public static bool GetKey(GlfwWindowPtr window, KeyCode key)
 {
     return GLFWDelegates.glfwGetKey(window, key) != 0;
 }
Exemplo n.º 18
0
 public static int GetWindowAttrib(GlfwWindowPtr window, WindowHint param)
 {
     return GLFWDelegates.glfwGetWindowAttrib(window, (int)param);
 }
Exemplo n.º 19
0
 public static void GetCursorPos(GlfwWindowPtr window, out double xpos, out double ypos)
 {
     GLFWDelegates.glfwGetCursorPos(window, out xpos, out ypos);
 }
Exemplo n.º 20
0
 public static void SetWindowUserPointer(GlfwWindowPtr window, IntPtr pointer)
 {
     GLFWDelegates.glfwSetWindowUserPointer(window, pointer);
 }
Exemplo n.º 21
0
 public static GlfwKeyFun SetKeyCallback(GlfwWindowPtr window, GlfwKeyFun cbfun)
 {
     keyFun = cbfun;
     return GLFWDelegates.glfwSetKeyCallback(window, cbfun);
 }
Exemplo n.º 22
0
 public static IntPtr GetWindowUserPointer(GlfwWindowPtr window)
 {
     return GLFWDelegates.glfwGetWindowUserPointer(window);
 }
Exemplo n.º 23
0
 public static GlfwMouseButtonFun SetMouseButtonCallback(GlfwWindowPtr window, GlfwMouseButtonFun cbfun)
 {
     mouseButtonFun = cbfun;
     return GLFWDelegates.glfwSetMouseButtonCallback(window, cbfun);
 }
Exemplo n.º 24
0
 public static GlfwFramebufferSizeFun SetFramebufferSizeCallback(GlfwWindowPtr window, GlfwFramebufferSizeFun cbfun)
 {
     framebufferSizeFun = cbfun;
     return GLFWDelegates.glfwSetFramebufferSizeCallback(window, cbfun);
 }
Exemplo n.º 25
0
 public static GlfwScrollFun SetScrollCallback(GlfwWindowPtr window, GlfwScrollFun cbfun)
 {
     scrollFun = cbfun;
     return GLFWDelegates.glfwSetScrollCallback(window, cbfun);
 }
Exemplo n.º 26
0
 public static GlfwWindowIconifyFun SetWindowIconifyCallback(GlfwWindowPtr window, GlfwWindowIconifyFun cbfun)
 {
     windowIconifyFun = cbfun;
     return GLFWDelegates.glfwSetWindowIconifyCallback(window, cbfun);
 }
Exemplo n.º 27
0
 public static string GetClipboardString(GlfwWindowPtr window)
 {
     return new string(GLFWDelegates.glfwGetClipboardString(window));
 }
Exemplo n.º 28
0
 public static int GetInputMode(GlfwWindowPtr window, InputMode mode)
 {
     return GLFWDelegates.glfwGetInputMode(window, mode);
 }
Exemplo n.º 29
0
 public static void SwapBuffers(GlfwWindowPtr window)
 {
     GLFWDelegates.glfwSwapBuffers(window);
 }
Exemplo n.º 30
0
 public static void SetWindowTitle(GlfwWindowPtr window, string title)
 {
     GLFWDelegates.glfwSetWindowTitle(window, title);
 }