import { DwmWindow } from "https://deno.land/x/dwm@0.2.0/mod.ts";
Represents a Window
Constructors
new
DwmWindow(_options: CreateWindowOptions)Properties
abstract
readonly
frameSize: LTRBMethods
abstract
createSurface(instance: Deno.PointerValue, allocator?: Deno.PointerValue): Deno.PointerValueCreate a VkSurfaceKHR for this window (Only for Vulkan)
abstract
getMonitor(): DwmMonitor | undefinedGet the monitor that the window is on (undefined if not fullscreen)
abstract
makeContextCurrent(): voidSets this window's context as the current context (Only for OpenGL)
abstract
setMonitor(monitor: DwmMonitor | undefined,
xpos?: number,
ypos?: number,
width?: number,
height?: number,
refreshRate?: number,
Set the monitor that the window is on
abstract
setSizeLimits(minWidth: number,
minHeight: number,
maxWidth: number,
maxHeight: number,
Set the window's size limits