bar

package
v0.0.0-...-40e17fa Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

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

func New

func New(x, y, w int, source func() uint8, barColor color.RGBA) *Bar

func (*Bar) Draw

func (b *Bar) Draw() (*ebiten.Image, *ebiten.DrawImageOptions)

func (*Bar) Height

func (b *Bar) Height() int

func (*Bar) LeftMouseButtonPress

func (b *Bar) LeftMouseButtonPress(int, int) bool

func (*Bar) LeftMouseButtonRelease

func (b *Bar) LeftMouseButtonRelease(int, int) bool

Jump to

Keyboard shortcuts

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