window

package
v0.0.0-...-c6b6372 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyWindowConfig

func ApplyWindowConfig(window *glfw.Window, config *GLFWWindowConfig)

Types

type CompositionAttribute

type CompositionAttribute struct {
	AccentState int
	Flags       int
	Color       int
	AnimationID int
}

type DragConfig

type DragConfig struct {
	DragArea   image.Rectangle
	Moveable   bool
	PrevMouseX int
	PrevMouseY int
}

type GLFWWindowConfig

type GLFWWindowConfig struct {
	Icon48px             *image.RGBA
	CompositionAttribute *CompositionAttribute
	DragConfig           *DragConfig
	FocusCallback        func(focused bool)
}

Jump to

Keyboard shortcuts

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