mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
[v2] Remove SetColour
This commit is contained in:
parent
d137859d12
commit
2fc2d63e2d
1 changed files with 0 additions and 6 deletions
|
|
@ -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", "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue