add icons to taskbar control buttons
This commit is contained in:
committed by
Drew Weymouth
parent
aedaa32de4
commit
041e4d3ba7
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user