mirror of
https://github.com/taigrr/wails.git
synced 2026-04-17 04:05:12 -07:00
[windows] support runtime.WindowSetRGBA
This commit is contained in:
@@ -2,6 +2,7 @@ package runtime
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
)
|
||||
|
||||
// WindowSetTitle sets the title of the window
|
||||
@@ -93,3 +94,8 @@ func WindowUnminimise(ctx context.Context) {
|
||||
appFrontend := getFrontend(ctx)
|
||||
appFrontend.WindowUnminimise()
|
||||
}
|
||||
|
||||
func WindowSetRGBA(ctx context.Context, col *options.RGBA) {
|
||||
appFrontend := getFrontend(ctx)
|
||||
appFrontend.WindowSetRGBA(col)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user