package dark

import (
	"github.com/google/gxui"
	"github.com/google/gxui/mixins"
)

type Window struct {
	mixins.Window
}

func CreateWindow(theme *Theme, width, height int, title string) gxui.Window {
	w := &Window{}
	w.Window.Init(w, theme.Driver(), width, height, title)
	w.SetBackgroundBrush(gxui.CreateBrush(theme.WindowBackground))
	return w
}
