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