예제 #1
0
 public static void SetWindowTitle(Window window, string title)
 {
     glfwSetWindowTitle(window.Handle, MarshalExt.ToUTF8ByteArray(title));
 }
예제 #2
0
 public static Window CreateWindow(int width, int height, string title, Monitor?monitor = null, Window?share = null)
 {
     return(glfwCreateWindow(width, height, MarshalExt.ToUTF8ByteArray(title), monitor.HasValue ? monitor.Value.Handle : IntPtr.Zero, share.HasValue ? share.Value.Handle : IntPtr.Zero));
 }