class WindowGlfw
extends DwmWindow
import { WindowGlfw } from "https://deno.land/x/dwm@0.3.2/src/platform/glfw/window.ts";
Constructors
new
WindowGlfw(options?: CreateWindowOptions)Methods
close()
createSurface(instance: Deno.PointerValue, allocator?: Deno.PointerValue | undefined): Deno.PointerValue
getInputMode(mode: InputMode): InputModeValue
getMonitor(): DwmMonitor | undefined
setAspectRatio(numerator: number, denominator: number)
setCursor(icon?: CursorIcon | undefined)
setCursorPos(x: number, y: number)
setIcon(image: ImageStruct): void
setInputMode(mode: InputMode, value: InputModeValue | boolean)
setSizeLimits()
minWidth: number,
minHeight: number,
maxWidth: number,
maxHeight: number,