display

package
v0.0.0-...-955f326 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

type Display struct {
	Frame         geom.Rect
	Usable        geom.Rect
	ScalingFactor float64
	Primary       bool
}

Display holds information about each available active display.

func All

func All() []*Display

All returns all displays.

func Primary

func Primary() *Display

Primary returns the primary display.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL