types/winattrs

Search:
Group by:

Types

WindowAttributes = object
  width*: int
  height*: int
  ppc*: int
  ppl*: int
  widthPx*: int
  heightPx*: int
  prefersDark*: bool
  colorMode*: ColorMode

Lets

dummyAttrs {.global.} = WindowAttributes(width: 80, height: 24, ppc: 9, ppl: 18,
    widthPx: 720, heightPx: 432, prefersDark: true, colorMode: cmTrueColor)