Пример #1
0
 public static void HideWindow(GlfwWindow window)
 {
     GlfwCore.glfwHideWindow(window);
 }
Пример #2
0
 public static void SetClipboardString(GlfwWindow window, string @string)
 {
     GlfwCore.glfwSetClipboardString(window, @string);
 }
Пример #3
0
 public static void MakeContextCurrent(GlfwWindow window)
 {
     GlfwCore.glfwMakeContextCurrent(window);
 }
Пример #4
0
 public static GlfwMouseButtonCallback SetMouseButtonCallback(GlfwWindow window, GlfwMouseButtonCallback cbfun)
 {
     mouseButtonFun = cbfun;
     return(GlfwCore.glfwSetMouseButtonCallback(window, cbfun));
 }
Пример #5
0
 public static GlfwScrollCallback SetScrollCallback(GlfwWindow window, GlfwScrollCallback cbfun)
 {
     scrollFun = cbfun;
     return(GlfwCore.glfwSetScrollCallback(window, cbfun));
 }
Пример #6
0
 public static void SetCursor(GlfwWindow window, GlfwCursor cursor)
 {
     GlfwCore.glfwSetCursor(window, cursor);
 }
Пример #7
0
 public static GlfwCharCallback SetCharCallback(GlfwWindow window, GlfwCharCallback cbfun)
 {
     charFun = cbfun;
     return(GlfwCore.glfwSetCharCallback(window, cbfun));
 }
Пример #8
0
 public static IntPtr GetWindowUserPointer(GlfwWindow window)
 {
     return(GlfwCore.glfwGetWindowUserPointer(window));
 }
Пример #9
0
 public static GlfwWindowRefreshCallback SetWindowRefreshCallback(GlfwWindow window,
                                                                  GlfwWindowRefreshCallback cbfun)
 {
     windowRefreshFun = cbfun;
     return(GlfwCore.glfwSetWindowRefreshCallback(window, cbfun));
 }
Пример #10
0
 public static int GetWindowAttrib(GlfwWindow window, WindowHint param)
 {
     return(GlfwCore.glfwGetWindowAttrib(window, (int)param));
 }
Пример #11
0
 public static void SetWindowUserPointer(GlfwWindow window, IntPtr pointer)
 {
     GlfwCore.glfwSetWindowUserPointer(window, pointer);
 }
Пример #12
0
 public static void SetWindowMonitor(GlfwWindow window, GlfwMonitor monitor, int xpos, int ypos, int width,
                                     int height, int refreshRate)
 {
     GlfwCore.glfwSetWindowMonitor(window, monitor, xpos, ypos, width, height, refreshRate);
 }
Пример #13
0
 public static GlfwMonitor GetWindowMonitor(GlfwWindow window)
 {
     return(GlfwCore.glfwGetWindowMonitor(window));
 }
Пример #14
0
 public static void FocusWindow(GlfwWindow window)
 {
     GlfwCore.glfwFocusWindow(window);
 }
Пример #15
0
 public static void GetCursorPos(GlfwWindow window, out double xpos, out double ypos)
 {
     GlfwCore.glfwGetCursorPos(window, out xpos, out ypos);
 }
Пример #16
0
 public static GlfwWindowFocusCallback SetWindowFocusCallback(GlfwWindow window, GlfwWindowFocusCallback cbfun)
 {
     windowFocusFun = cbfun;
     return(GlfwCore.glfwSetWindowFocusCallback(window, cbfun));
 }
Пример #17
0
 public static void SetCursorPos(GlfwWindow window, double xpos, double ypos)
 {
     GlfwCore.glfwSetCursorPos(window, xpos, ypos);
 }
Пример #18
0
 public static GlfwWindowIconifyCallback SetWindowIconifyCallback(GlfwWindow window,
                                                                  GlfwWindowIconifyCallback cbfun)
 {
     windowIconifyFun = cbfun;
     return(GlfwCore.glfwSetWindowIconifyCallback(window, cbfun));
 }
Пример #19
0
 public static GlfwKeyCallback SetKeyCallback(GlfwWindow window, GlfwKeyCallback cbfun)
 {
     keyFun = cbfun;
     return(GlfwCore.glfwSetKeyCallback(window, cbfun));
 }
Пример #20
0
 public static GlfwFramebufferSizeCallback SetFramebufferSizeCallback(GlfwWindow window,
                                                                      GlfwFramebufferSizeCallback cbfun)
 {
     frameBfSizeFun = cbfun;
     return(GlfwCore.glfwSetFramebufferSizeCallback(window, cbfun));
 }
Пример #21
0
 public static GlfwCharModifiersCallback SetCharModifiersCallback(GlfwWindow window,
                                                                  GlfwCharModifiersCallback cbfun)
 {
     charModsFun = cbfun;
     return(GlfwCore.gflwSetCharModsCallback(window, cbfun));
 }
Пример #22
0
 public static int GetInputMode(GlfwWindow window, InputMode mode)
 {
     return(GlfwCore.glfwGetInputMode(window, mode));
 }
Пример #23
0
 public static GlfwCursorEnterCallback SetCursorEnterCallback(GlfwWindow window, GlfwCursorEnterCallback cbfun)
 {
     cursorEnterFun = cbfun;
     return(GlfwCore.glfwSetCursorEnterCallback(window, cbfun));
 }
Пример #24
0
 public static void SetInputMode(GlfwWindow window, InputMode mode, CursorMode value)
 {
     GlfwCore.glfwSetInputMode(window, mode, value);
 }
Пример #25
0
 public static GlfwDropCallback SetDropCallback(GlfwWindow window, GlfwDropCallback cbfun)
 {
     dropFun = cbfun;
     return(GlfwCore.glfwSetDropCallback(window, cbfun));
 }
Пример #26
0
 public static bool GetKey(GlfwWindow window, Key key)
 {
     return(GlfwCore.glfwGetKey(window, key) != 0);
 }
Пример #27
0
 public static string GetClipboardString(GlfwWindow window)
 {
     return(new string(GlfwCore.glfwGetClipboardString(window)));
 }
Пример #28
0
 public static bool GetMouseButton(GlfwWindow window, MouseButton button)
 {
     return(GlfwCore.glfwGetMouseButton(window, button) != 0);
 }
Пример #29
0
 public static void SwapBuffers(GlfwWindow window)
 {
     GlfwCore.glfwSwapBuffers(window);
 }
Пример #30
0
 public static void ShowWindow(GlfwWindow window)
 {
     GlfwCore.glfwShowWindow(window);
 }