healthview

package
v0.0.1-test1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockView

type BlockView struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewBlockView

func NewBlockView(row *petalsserver.Peer, numBlocks int, lineHeight float32) *BlockView

func (*BlockView) CreateRenderer

func (b *BlockView) CreateRenderer() fyne.WidgetRenderer

type HealthView

type HealthView struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewHealthView

func NewHealthView(status *petalsserver.Status, onProblem func(), peerID *string) *HealthView

func (*HealthView) CreateRenderer

func (h *HealthView) CreateRenderer() fyne.WidgetRenderer

func (*HealthView) LoadStatus

func (h *HealthView) LoadStatus()

type ModelHealth

type ModelHealth struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewModelHealth

func NewModelHealth(rows []petalsserver.Peer, numBlocks int, current *string) *ModelHealth

func (*ModelHealth) CreateRenderer

func (h *ModelHealth) CreateRenderer() fyne.WidgetRenderer

type PeerLabel

type PeerLabel struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewPeerLabel

func NewPeerLabel(row *petalsserver.Peer, numBlocks int) *PeerLabel

func (*PeerLabel) CreateRenderer

func (p *PeerLabel) CreateRenderer() fyne.WidgetRenderer

func (*PeerLabel) LabelSize

func (p *PeerLabel) LabelSize() fyne.Size

type PeerRow

type PeerRow struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewPeerRow

func NewPeerRow(row *petalsserver.Peer, numBlocks int, currentPeerID *string) *PeerRow

func (*PeerRow) CreateRenderer

func (p *PeerRow) CreateRenderer() fyne.WidgetRenderer

func (*PeerRow) LabelSize

func (p *PeerRow) LabelSize() fyne.Size

func (*PeerRow) SetXpos

func (p *PeerRow) SetXpos(x float32)

Jump to

Keyboard shortcuts

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