ui

package
v0.250120.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: CC0-1.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ScaleAlpha = []byte{
	0x94,
	0x95,
	0x96,
	0x97,
}

Functions

func TuneValueToByte added in v0.250104.0

func TuneValueToByte(currentValue uint8, defaultValue uint8) []byte

func VisualHash

func VisualHash(input, salt []byte) string

Types

type UI

type UI struct {
	FrontMaxPrice currency.Amount
	Service       uiService

	XXX_testHook func(types.UiState)
	// contains filtered or unexported fields
}

func (*UI) CreateEvent added in v0.250107.1

func (ui *UI) CreateEvent(e types.EventKind)

func (*UI) GetUiState added in v0.230424.2

func (ui *UI) GetUiState() uint32

func (*UI) Init

func (ui *UI) Init(ctx context.Context) error

func (*UI) LockDecrementWait

func (ui *UI) LockDecrementWait()

func (*UI) LockEnd

func (ui *UI) LockEnd()

LockEnd Stop locked state ignoring call balance

func (*UI) LockFunc

func (ui *UI) LockFunc(fun func()) bool

func (*UI) Loop

func (ui *UI) Loop(ctx context.Context)

func (*UI) ScheduleSync

func (ui *UI) ScheduleSync(ctx context.Context, fun types.TaskFunc) error

func (*UI) State

func (ui *UI) State() types.UiState

func (*UI) XXX_testSetState

func (ui *UI) XXX_testSetState(new types.UiState)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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