From 2fc2d63e2d5ed37c0e4167c2312a0dee2242c02b Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 21 Jun 2021 18:05:45 +1000 Subject: [PATCH] [v2] Remove SetColour --- v2/internal/runtime/window.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/v2/internal/runtime/window.go b/v2/internal/runtime/window.go index 89ad7da33..ce6efae8c 100644 --- a/v2/internal/runtime/window.go +++ b/v2/internal/runtime/window.go @@ -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", "")