mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
[v2] Remove SetColour
This commit is contained in:
@@ -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", "")
|
||||
|
||||
Reference in New Issue
Block a user