[v2] Remove SetColour

This commit is contained in:
Lea Anthony 2021-06-21 18:05:45 +10:00
commit 2fc2d63e2d

View file

@ -23,7 +23,6 @@ type Window interface {
SetPosition(x int, y int)
Fullscreen()
UnFullscreen()
SetColour(colour int)
}
// Window exposes the Windows interface
@ -66,11 +65,6 @@ func (w *window) Center() {
w.bus.Publish("window:center", "")
}
// SetColour sets the window colour to the given int
func (w *window) SetColour(colour int) {
w.bus.Publish("window:setcolour", colour)
}
// Show shows the window if hidden
func (w *window) Show() {
w.bus.Publish("window:show", "")