Files
autoPriority/tray_assets.go
T

27 lines
425 B
Go

//go:build windows
package main
import _ "embed"
//go:embed assets/chart_bar_edit.png
var trayPNG []byte
//go:embed assets/cross.png
var exitPNG []byte
func trayActivation(version4 bool, event uint32) bool {
if version4 {
switch event {
case 0x400, 0x401, 0x7b, 0x208, 0x20c:
return true
}
} else {
switch event {
case 0x202, 0x205, 0x208, 0x20c, 0x400, 0x401, 0x7b:
return true
}
}
return false
}