worlds

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "worlds"

Variables

This section is empty.

Functions

func New

func New(router *pages.Router) pages.Page

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

type Map2 added in v1.31.1

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

func (*Map2) Layout added in v1.31.1

func (m *Map2) Layout(gtx layout.Context) layout.Dimensions

func (*Map2) Update added in v1.31.1

func (m *Map2) Update(u *messages.UpdateMap)

type Map3 added in v1.32.0

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

func NewMap3 added in v1.32.0

func NewMap3() *Map3

func (*Map3) Layout added in v1.32.0

func (m *Map3) Layout(gtx layout.Context) layout.Dimensions

func (*Map3) Release added in v1.32.0

func (m *Map3) Release()

func (*Map3) SetLookupTexture added in v1.32.0

func (m *Map3) SetLookupTexture(img *image.RGBA)

func (*Map3) Update added in v1.32.0

func (m *Map3) Update(u *messages.UpdateMap)

type Page

type Page struct {
	Map3 *Map3

	State messages.UIState
	// contains filtered or unexported fields
}

func (*Page) Actions

func (p *Page) Actions() []component.AppBarAction

func (*Page) Handler

func (u *Page) Handler(data any) messages.Response

func (*Page) ID added in v1.31.1

func (p *Page) ID() string

func (*Page) Layout

func (p *Page) Layout(gtx C, th *material.Theme) D

func (*Page) NavItem

func (p *Page) NavItem() component.NavItem

func (*Page) Overflow

func (p *Page) Overflow() []component.OverflowAction

Jump to

Keyboard shortcuts

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