ui

package
v0.0.0-...-fc2dc21 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Text

type Text struct {
	// contains filtered or unexported fields
}

func NewText

func NewText(x, y, width float32, fontSize float64, value string) *Text

func (*Text) Draw

func (t *Text) Draw(screen *ebiten.Image)

func (*Text) GetPos

func (t *Text) GetPos() (float32, float32)

func (*Text) GetValue

func (t *Text) GetValue() string

func (*Text) SetFocus

func (t *Text) SetFocus(focused bool)

func (*Text) SetValue

func (t *Text) SetValue(value string)

func (*Text) Update

func (t *Text) Update() error

Jump to

Keyboard shortcuts

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