ui

package
v0.0.0-...-59f1b98 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WindowWidth  = 800
	WindowHeight = 800
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Window

type Window struct {
	Title string
	Debug bool
	// contains filtered or unexported fields
}

func NewWindow

func NewWindow(s screen.Screen, p *painter.Loop) *Window

func (*Window) Closed

func (w *Window) Closed() <-chan struct{}

func (*Window) Loop

func (w *Window) Loop()

func (*Window) Stop

func (w *Window) Stop()

func (*Window) Update

func (w *Window) Update(t screen.Texture)

Jump to

Keyboard shortcuts

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