frames

package
v0.0.0-...-7fee067 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frames

type Frames struct {
	Game       tortuga.Console
	MessageBus message.MessageBus
	Frames     [][]uint8
	PixelSize  float64
	Width      int
	component.Coordinate
	// contains filtered or unexported fields
}

func (Frames) AlternateSelectElement

func (f Frames) AlternateSelectElement(coordinate component.Coordinate)

SelectElement will Set the element at the passed in coordinates to the active element.

func (Frames) IsWithinBounds

func (f Frames) IsWithinBounds(coordinate component.Coordinate) bool

IsWithinBounds will determine if a coordinate exists within the widget.

func (*Frames) Mailbox

func (f *Frames) Mailbox()

func (*Frames) Render

func (f *Frames) Render()

func (*Frames) SelectElement

func (f *Frames) SelectElement(coordinate component.Coordinate)

SelectElement will Set the element at the passed in coordinates to the active element.

func (Frames) Update

func (f Frames) Update()

Jump to

Keyboard shortcuts

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