testinput

package
v0.0.0-...-883f3e4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	Mock struct {
		Bounds            func() geometry.Rect
		MousePosition     func() geometry.Vec
		MouseInsideWindow func() bool
	}
}

func (Source) Bounds

func (src Source) Bounds() geometry.Rect

func (Source) Focused

func (Source) Focused() bool

func (Source) JustPressed

func (Source) JustPressed(_ input.Button) bool

func (Source) JustReleased

func (Source) JustReleased(_ input.Button) bool

func (Source) MouseInsideWindow

func (src Source) MouseInsideWindow() bool

func (Source) MousePosition

func (src Source) MousePosition() geometry.Vec

func (Source) Pressed

func (Source) Pressed(_ input.Button) bool

Jump to

Keyboard shortcuts

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