Documentation ¶
Index ¶
- func Close() error
- func IsAutoMode() bool
- func IsAutoPatch() bool
- func IsAutoPlay() bool
- func LogClear()
- func MessageBox(title, message string, isError bool)
- func MessageBoxYesNo(title, message string) bool
- func NewMainWindow(ctx context.Context, cancel context.CancelFunc, cfg *config.Config, ...) error
- func Run() int
- func SetAutoMode(value bool)
- func SetPatchMode(value bool)
- func SetPatchText(value string)
- func SetProgress(value int)
- func SetTitle(title string)
- func SubscribeAutoPatch(fn func())
- func SubscribeAutoPlay(fn func())
- func SubscribeClose(fn func(cancelled *bool, reason byte))
- func SubscribePatchButton(fn func())
- func SubscribePlayButton(fn func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAutoMode ¶
func IsAutoMode() bool
func IsAutoPatch ¶
func IsAutoPatch() bool
func IsAutoPlay ¶
func IsAutoPlay() bool
func MessageBox ¶
func MessageBoxYesNo ¶
func NewMainWindow ¶
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 SubscribeAutoPatch ¶
func SubscribeAutoPatch(fn func())
func SubscribeAutoPlay ¶
func SubscribeAutoPlay(fn func())
func SubscribeClose ¶
func SubscribePatchButton ¶
func SubscribePatchButton(fn func())
func SubscribePlayButton ¶
func SubscribePlayButton(fn func())
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.