badge

package
v0.0.0-...-4a5a484 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 Badge

type Badge[T pixel.Color] struct {
	Display *display.Device[T]
	// contains filtered or unexported fields
}

func NewDevice

func NewDevice[T pixel.Color](d *display.Device[T]) *Badge[T]

func (*Badge[T]) Clear

func (b *Badge[T]) Clear() error

func (*Badge[T]) Heading

func (b *Badge[T]) Heading(msg string)

func (*Badge[T]) Init

func (b *Badge[T]) Init() error

func (*Badge[T]) Modules

func (b *Badge[T]) Modules() wypes.Modules

func (*Badge[T]) SetText1

func (b *Badge[T]) SetText1(msg string)

func (*Badge[T]) SetText2

func (b *Badge[T]) SetText2(msg string)

func (*Badge[T]) SetText3

func (b *Badge[T]) SetText3(msg string)

func (*Badge[T]) SetText4

func (b *Badge[T]) SetText4(msg string)

type BigText

type BigText[T pixel.Color] struct {
	Name     string
	VBox     *tinygl.VBox[T]
	Header   *tinygl.Text[T]
	TextBox1 *tinygl.Text[T]
	TextBox2 *tinygl.Text[T]
	TextBox3 *tinygl.Text[T]
	TextBox4 *tinygl.Text[T]
}

func NewBigText

func NewBigText[T pixel.Color](d *display.Device[T]) *BigText[T]

createWasmPage creates the screen when executing wasm on the badge.

func (*BigText[T]) Heading

func (bt *BigText[T]) Heading(s string)

func (*BigText[T]) SetText1

func (bt *BigText[T]) SetText1(s string)

func (*BigText[T]) SetText2

func (bt *BigText[T]) SetText2(s string)

func (*BigText[T]) SetText3

func (bt *BigText[T]) SetText3(s string)

func (*BigText[T]) SetText4

func (bt *BigText[T]) SetText4(s string)

func (*BigText[T]) Show

func (bt *BigText[T]) Show(d *display.Device[T])

Jump to

Keyboard shortcuts

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