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

        public static bool Init()
        {
            return(GlfwCore.glfwInit() == 1);
        }
Exemplo n.º 14
0
 public static void DefaultWindowHints()
 {
     GlfwCore.glfwDefaultWindowHints();
 }
Exemplo n.º 15
0
 public static void GetFramebufferSize(GlfwWindow window, out int width, out int height)
 {
     GlfwCore.glfwGetFramebufferSize(window, out width, out height);
 }
Exemplo n.º 16
0
 public static void SetWindowShouldClose(GlfwWindow window, bool value)
 {
     GlfwCore.glfwSetWindowShouldClose(window, value ? 1 : 0);
 }
Exemplo n.º 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);
 }
Exemplo n.º 18
0
 public static void SetWindowTitle(GlfwWindow window, string title)
 {
     GlfwCore.glfwSetWindowTitle(window, title);
 }
Exemplo n.º 19
0
 public static void RestoreWindow(GlfwWindow window)
 {
     GlfwCore.glfwRestoreWindow(window);
 }
Exemplo n.º 20
0
 public static void SetWindowIcon(GlfwWindow window, int count, GlfwImage[] images)
 {
     GlfwCore.glfwSetWindowIcon(window, count, images);
 }
Exemplo n.º 21
0
 public static void ShowWindow(GlfwWindow window)
 {
     GlfwCore.glfwShowWindow(window);
 }
Exemplo n.º 22
0
 public static void GetWindowPos(GlfwWindow window, out int xpos, out int ypos)
 {
     GlfwCore.glfwGetWindowPos(window, out xpos, out ypos);
 }
Exemplo n.º 23
0
 public static void GetVersion(out int major, out int minor, out int rev)
 {
     GlfwCore.glfwGetVersion(out major, out minor, out rev);
 }
Exemplo n.º 24
0
 public static void Terminate()
 {
     GlfwCore.glfwTerminate();
 }
Exemplo n.º 25
0
 public static GlfwMonitor GetWindowMonitor(GlfwWindow window)
 {
     return(GlfwCore.glfwGetWindowMonitor(window));
 }
Exemplo n.º 26
0
 public static void SetGamma(GlfwMonitor monitor, float gamma)
 {
     GlfwCore.glfwSetGamma(monitor, gamma);
 }