positioning

package
v0.0.0-...-aac1211 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

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

func (*Base) Draw

func (b *Base) Draw()

func (*Base) Init

func (b *Base) Init(i *ebiten.Image, m *sources.MetadataModel, f font.Face, t string)

type Button

type Button struct {
	Base
}

func NewButton

func NewButton() *Button

type Input

type Input struct {
	Base
}

func NewInput

func NewInput() *Input

func (*Input) Draw

func (i *Input) Draw()

type Positioning

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

func UsePositioning

func UsePositioning() *Positioning

TODO: refactor interface for text positioning

func (*Positioning) Button

func (p *Positioning) Button() *Button

func (*Positioning) Input

func (p *Positioning) Input() *Input

Jump to

Keyboard shortcuts

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