add icons to taskbar control buttons

This commit is contained in:
Drew Weymouth
2025-08-08 19:15:46 -07:00
committed by Drew Weymouth
parent aedaa32de4
commit 041e4d3ba7
12 changed files with 322 additions and 55 deletions
+22 -9
View File
@@ -1,9 +1,22 @@
//go:build !windows
package windows
import "errors"
func InitializeTaskbarButtons(hwnd uintptr, callback func(TaskbarButton)) error {
return errors.New("taskbar buttons unsupported")
}
//go:build !windows
package windows
import (
"errors"
"image"
)
var err = errors.New("taskbar buttons unsupported")
func InitializeTaskbarButtons(hwnd uintptr, callback func(TaskbarButton)) error {
return err
}
func InitializeTaskbarIcons(prev, next, play, pause image.Image) error {
return err
}
func SetTaskbarButtonIsPlaying(isPlaying bool) error {
return err
}