gui

package
v0.0.0-...-9c30cc4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

func IsAutoMode

func IsAutoMode() bool

func IsAutoPatch

func IsAutoPatch() bool

func IsAutoPlay

func IsAutoPlay() bool

func LogClear

func LogClear()

func MessageBox

func MessageBox(title, message string, isError bool)

func MessageBoxYesNo

func MessageBoxYesNo(title, message string) bool

func NewMainWindow

func NewMainWindow(ctx context.Context, cancel context.CancelFunc, cfg *config.Config, splash []byte) error

func Run

func Run() int

func SetAutoMode

func SetAutoMode(value bool)

func SetPatchMode

func SetPatchMode(value bool)

func SetPatchText

func SetPatchText(value string)

func SetProgress

func SetProgress(value int)

func SetTitle

func SetTitle(title string)

func SubscribeAutoPatch

func SubscribeAutoPatch(fn func())

func SubscribeAutoPlay

func SubscribeAutoPlay(fn func())

func SubscribeClose

func SubscribeClose(fn func(cancelled *bool, reason byte))

func SubscribePatchButton

func SubscribePatchButton(fn func())

func SubscribePlayButton

func SubscribePlayButton(fn func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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