Exemple #1
0
 public static void SetWindowSize(GlfwWindow window, int width, int height)
 {
     GlfwCore.glfwSetWindowSize(window, width, height);
 }
Exemple #2
0
 public static void SetGammaRamp(GlfwMonitor monitor, ref GlfwGammaRamp ramp)
 {
     ramp.Length = (uint)ramp.Red.Length;
     GlfwCore.glfwSetGammaRamp(monitor, ref ramp);
 }
Exemple #3
0
 public static void SetWindowPos(GlfwWindow window, int xpos, int ypos)
 {
     GlfwCore.glfwSetWindowPos(window, xpos, ypos);
 }
Exemple #4
0
 public static void HideWindow(GlfwWindow window)
 {
     GlfwCore.glfwHideWindow(window);
 }
Exemple #5
0
 public static void FocusWindow(GlfwWindow window)
 {
     GlfwCore.glfwFocusWindow(window);
 }
Exemple #6
0
 public static void IconifyWindow(GlfwWindow window)
 {
     GlfwCore.glfwIconifyWindow(window);
 }
Exemple #7
0
 public static void MaximizeWindow(GlfwWindow window)
 {
     GlfwCore.glfwMaximizeWindow(window);
 }
Exemple #8
0
 public static void DestroyWindow(GlfwWindow window)
 {
     GlfwCore.glfwDestroyWindow(window);
 }
Exemple #9
0
 public static bool WindowShouldClose(GlfwWindow window)
 {
     return(GlfwCore.glfwWindowShouldClose(window) == 1);
 }
Exemple #10
0
 public static void WindowHint(WindowAttrib target, bool hint)
 {
     GlfwCore.glfwWindowHint((int)target, hint ? 1 : 0);
 }
Exemple #11
0
 public static GlfwWindow CreateWindow(int width, int height, string title, GlfwMonitor monitor, GlfwWindow share)
 {
     return(GlfwCore.glfwCreateWindow(width, height, title, monitor, share));
 }
Exemple #12
0
 public static void WindowHint(WindowAttrib target, int hint)
 {
     GlfwCore.glfwWindowHint((int)target, hint);
 }
Exemple #13
0
#pragma warning disable 0414

        public static bool Init()
        {
            return(GlfwCore.glfwInit() == 1);
        }
Exemple #14
0
 public static void DefaultWindowHints()
 {
     GlfwCore.glfwDefaultWindowHints();
 }
Exemple #15
0
 public static void GetFramebufferSize(GlfwWindow window, out int width, out int height)
 {
     GlfwCore.glfwGetFramebufferSize(window, out width, out height);
 }
Exemple #16
0
 public static void SetWindowShouldClose(GlfwWindow window, bool value)
 {
     GlfwCore.glfwSetWindowShouldClose(window, value ? 1 : 0);
 }
Exemple #17
0
 public static void GetWindowFrameSize(GlfwWindow window, out int left, out int top, out int right,
                                       out int bottom)
 {
     GlfwCore.glfwGetWindowFrameSize(window, out left, out top, out right, out bottom);
 }
Exemple #18
0
 public static void SetWindowTitle(GlfwWindow window, string title)
 {
     GlfwCore.glfwSetWindowTitle(window, title);
 }
Exemple #19
0
 public static void RestoreWindow(GlfwWindow window)
 {
     GlfwCore.glfwRestoreWindow(window);
 }
Exemple #20
0
 public static void SetWindowIcon(GlfwWindow window, int count, GlfwImage[] images)
 {
     GlfwCore.glfwSetWindowIcon(window, count, images);
 }
Exemple #21
0
 public static void ShowWindow(GlfwWindow window)
 {
     GlfwCore.glfwShowWindow(window);
 }
Exemple #22
0
 public static void GetWindowPos(GlfwWindow window, out int xpos, out int ypos)
 {
     GlfwCore.glfwGetWindowPos(window, out xpos, out ypos);
 }
Exemple #23
0
 public static void GetVersion(out int major, out int minor, out int rev)
 {
     GlfwCore.glfwGetVersion(out major, out minor, out rev);
 }
Exemple #24
0
 public static void Terminate()
 {
     GlfwCore.glfwTerminate();
 }
Exemple #25
0
 public static GlfwMonitor GetWindowMonitor(GlfwWindow window)
 {
     return(GlfwCore.glfwGetWindowMonitor(window));
 }
Exemple #26
0
 public static void SetGamma(GlfwMonitor monitor, float gamma)
 {
     GlfwCore.glfwSetGamma(monitor, gamma);
 }