This commit is contained in:
Liang Ding 2022-06-25 20:37:22 +08:00
parent 7a83808d45
commit 12cea42ce3
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 140 additions and 30 deletions

View file

@ -144,6 +144,10 @@ func PushErrMsg(msg string, timeout int) (msgId string) {
return
}
func PushStatusBar(msg string) {
BroadcastByType("main", "statusbar", 0, msg, nil)
}
const (
PushProgressCodeProgressed = 0 // 有进度
PushProgressCodeEndless = 1 // 无进度